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

judge: be more graceful around worker timeouts #1146

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Conversation

Xyene
Copy link
Member

@Xyene Xyene commented Dec 25, 2023

  • Increase the timeout to 60s to avoid killing the worker when a user has aborted a long-running compilation.
  • Rather than display EOFError when we kill the worker, display a more informative TimeoutError instead.

@Xyene Xyene requested a review from quantum5 December 25, 2023 21:17
- Increase the timeout to 60s to avoid killing the worker when a user has
  aborted a long-running compilation.
- Rather than display `EOFError` when we kill the worker, display a more
  informative `TimeoutError` instead.
@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (e44898f) 81.30% compared to head (2926a41) 81.26%.

Files Patch % Lines
dmoj/judge.py 40.00% 6 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1146      +/-   ##
==========================================
- Coverage   81.30%   81.26%   -0.04%     
==========================================
  Files         141      141              
  Lines        5028     5034       +6     
==========================================
+ Hits         4088     4091       +3     
- Misses        940      943       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Xyene Xyene merged commit 5eb5f59 into master Dec 25, 2023
8 of 19 checks passed
@Xyene Xyene deleted the worker-timeouts branch December 25, 2023 22:19
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

Successfully merging this pull request may close these issues.

3 participants