Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make LONG_POLLING_INTERVAL configurable #60

Open
jhorman opened this issue Jul 11, 2019 · 2 comments · May be fixed by #61
Open

Make LONG_POLLING_INTERVAL configurable #60

jhorman opened this issue Jul 11, 2019 · 2 comments · May be fixed by #61

Comments

@jhorman
Copy link

jhorman commented Jul 11, 2019

I would like to be able to have workers shutdown more quickly. Having this set to 20 when the queue is empty means slow deploys.

@spulec
Copy link
Owner

spulec commented Jul 12, 2019

Agreed. A PR would be very welcome. Setting this as a feature request.

@Tenzer
Copy link
Contributor

Tenzer commented Oct 12, 2019

Would it not be more ideal if the polling would be interrupted when a SIGTERM signal is received? That way you would get the benefit of having the optimal long polling (with fewest possible requests) along with quick shutdowns.

I don't know how difficult that would be to achieve though.

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

Successfully merging a pull request may close this issue.

3 participants