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

adapt sleep-time for poller #33

Open
maxhaslbeck opened this issue Jun 23, 2020 · 1 comment
Open

adapt sleep-time for poller #33

maxhaslbeck opened this issue Jun 23, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@maxhaslbeck
Copy link
Collaborator

maxhaslbeck commented Jun 23, 2020

Do I see that correctly that the poller waits 2+5=7min if it does not find a submission?

https://github.com/maxhaslbeck/proving-contest-backends/blob/5bf3136d9f9a82952a605cedaed7c8c1ea80fb37/poller.py#L115

https://github.com/maxhaslbeck/proving-contest-backends/blob/5bf3136d9f9a82952a605cedaed7c8c1ea80fb37/poller.py#L95

I guess that's annoying at least during a contest.
So this should be pulled out as a parameter into some config file

@maxhaslbeck
Copy link
Collaborator Author

it is in seconds.
I got confused because two judges on different servers were polling from the production server.

still, pulling out that variable would be beneficial.

@maxhaslbeck maxhaslbeck added the good first issue Good for newcomers label Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Development

No branches or pull requests

1 participant