Closed Armael closed 5 years ago
A quick fix would be to catch the error in the polling loop of poller.py and just try again. Is that fine, or would you prefer some more sophisticated solution? see 007afb2e673298aabb532290f2b9a6f0c52513fd
If a submission was polled by a judge, the restapi reserves that submission for some time. After that the submission is free again and gets assigned to the next judge that polls. So if a poller fails (because of some strange issue, i.e. internet connection glitch) it will just wait until the submission is available again (by looping the polling loop) and then try judging again.
A quick fix would be to catch the error in the polling loop of poller.py and just try again. Is that fine, or would you prefer some more sophisticated solution?
That's perfect.
see 007afb2
Thanks!
My internet connection had a temporary glitch, and this crashed the Coq python poller, with the following backtrace:
What is the best way of handling this kind of failure? Typically I'd like the poller to restart itself if that happens.