Use CodeJail with FSIZE support, and default to 50k
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user