Use CodeJail with FSIZE support, and default to 50k

This commit is contained in:
Ned Batchelder
2013-07-18 08:49:05 -04:00
parent 921e78b8ae
commit 89c48f4a30
2 changed files with 3 additions and 1 deletions

View File

@@ -308,6 +308,8 @@ CODE_JAIL = {
'limits': {
# How many CPU seconds can jailed code use?
'CPU': 1,
# How large a file can jailed code write?
'FSIZE': 50000,
},
}

View File

@@ -9,5 +9,5 @@
# Our libraries:
-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