edition-php-twig-standard icon indicating copy to clipboard operation
edition-php-twig-standard copied to clipboard

30 minutes timeout on core/console

Open zkwsk opened this issue 8 years ago • 3 comments

Have you considered adding a flag to disable the 30 minute timeout on core/console commands? I find it a bit annoying having to start the server every time I come back to patternlab and would love to have a flag to allow it to run infinitely.

zkwsk avatar Dec 14 '16 12:12 zkwsk

I discovered that you can override the timeout by making the changes below: /vendor/pattern-lab/core/src/PatternLab/Console/Commands/ServerCommand.php

Lines 61 and 66, change "idle" => 1800 to "idle" => 0

adampengh avatar Apr 13 '17 18:04 adampengh

I added a flag to my setup and created the attached patch so I can keep the implementation after updates. now all I do is add idle: 0 to my config.yml file and I am all set.

30-minute-timeout-24.txt

jasonrsavino avatar Jul 20 '17 16:07 jasonrsavino

Would it be possible for the patch from @jasonrsavino to be merged to the core? @jasonrsavino could you maybe issue a pull request. I would highly appreciate that!

IgorBenko avatar Apr 05 '18 15:04 IgorBenko