Commit 686eb649 by Ned Batchelder

An example of how to set the CPU limit for codejail.

parent 403218ec
......@@ -249,6 +249,12 @@ CODE_JAIL = {
'python_bin': None,
# User to run as in the sandbox.
'user': 'sandbox',
# Configurable limits.
'limits': {
# How many CPU seconds can jailed code use?
'CPU': 1,
},
}
# Some courses are allowed to run unsafe code. This is a list of regexes, one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment