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

Blocking time.sleep causes spawner to wait for start #1

Open
Cadair opened this issue Aug 22, 2016 · 1 comment
Open

Blocking time.sleep causes spawner to wait for start #1

Cadair opened this issue Aug 22, 2016 · 1 comment

Comments

@Cadair
Copy link
Owner

Cadair commented Aug 22, 2016

https://github.com/Cadair/sgespawner/blob/master/sgespawner/spawner.py#L106

This seems to cause the whole webserver for all users to become unresponsive if a job sits in the queue for a long time.

@Cadair
Copy link
Owner Author

Cadair commented Aug 22, 2016

Tried replacing it with this: http://www.tornadoweb.org/en/stable/gen.html#tornado.gen.sleep didn't immediately fix the issue.

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

No branches or pull requests

1 participant