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

Switch cpu-exec to real-time-measuring sio2jail #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

otargowski
Copy link
Contributor

This PR upstreams the switch to sio2jail for safely measuring real time, which was on prod for a few years.
The only issue is that the docker setup provided in OIOIOI does not work with sio2jail, but that should be addressed separately.

To actually use this in OIOIOI on simple (non-acm?) contests, one will need to set USE_UNSAFE_EXEC = False and DEFAULT_SAFE_EXECUTION_MODE = "cpu" in settings.py.
Here's a release for testing: http://github.com/otargowski/sioworkers/archive/refs/tags/rt-s2j-2.tar.gz

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.

2 participants