Commit 89c48f4a by Ned Batchelder

Use CodeJail with FSIZE support, and default to 50k

parent 921e78b8
...@@ -308,6 +308,8 @@ CODE_JAIL = { ...@@ -308,6 +308,8 @@ CODE_JAIL = {
'limits': { 'limits': {
# How many CPU seconds can jailed code use? # How many CPU seconds can jailed code use?
'CPU': 1, 'CPU': 1,
# How large a file can jailed code write?
'FSIZE': 50000,
}, },
} }
......
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
# Our libraries: # Our libraries:
-e git+https://github.com/edx/XBlock.git@3974e999fe853a37dfa6fadf0611289434349409#egg=XBlock -e git+https://github.com/edx/XBlock.git@3974e999fe853a37dfa6fadf0611289434349409#egg=XBlock
-e git+https://github.com/edx/codejail.git@0a1b468#egg=codejail -e git+https://github.com/edx/codejail.git@c08967fb44d1bcdb259d3ec58812e3ac592539c2#egg=codejail
-e git+https://github.com/edx/diff-cover.git@v0.1.3#egg=diff_cover -e git+https://github.com/edx/diff-cover.git@v0.1.3#egg=diff_cover
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