maxkain

Results 7 comments of maxkain

> Hi, you can set max_wait_time and reload_async to reload or stop worker softly. With **max_wait_time** server waits requests when reloading, but it does not accept new requests, so they...

It would be great, if server, when restarting, could wait while current requests will be finished, and at the same time accept new requests. But in now solution is to...

I see another way to implement zero downtime deploy using nginx, like this https://syshero.org/2016-06-09-zero-downtime-deployments-using-nginx/ Steps: 1. Deploy second instance of application with another port opened and optionally warmup it. 2....

It's hard to make sql query. I made another filter, that works fine for me. Usage: ```php $filters->add(EntityAssocFilter::new('properties', 'value') ->setLabel('Properties') ->setChoices($this->propertyValueRepository->findAllChoices()) ->canSelectMultiple(true) ->setFormTypeOption('value_type_options.attr.data-widget', null) ->setFormTypeOption('value_type_options.attr.size', 10) ); ``` Code: ```php...

> The reason is the "open-closed-principle" which states that classes should be open for extension but closed for modification. > > To make this happen more extension points are needed....

@javiereguiluz, try Swoole, it works, https://github.com/php-runtime/swoole

@javiereguiluz, the issue will be resolved, if Twig developers will add something like RefreshGlobalsInterface for Extension.