Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

30 minutes timeout on core/console #24

Open
zkwsk opened this issue Dec 14, 2016 · 3 comments
Open

30 minutes timeout on core/console #24

zkwsk opened this issue Dec 14, 2016 · 3 comments

Comments

@zkwsk
Copy link

zkwsk commented Dec 14, 2016

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.

@adampengh
Copy link

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

@jasonrsavino
Copy link

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

@IgorBenko
Copy link

IgorBenko commented Apr 5, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants