Skip to content

Commit

Permalink
Merge pull request #435 from edx/ned/allow-tempfiles-in-sandbox
Browse files Browse the repository at this point in the history
Use CodeJail with FSIZE support, and default to 50k
  • Loading branch information
nedbat committed Jul 18, 2013
2 parents 921e78b + 89c48f4 commit 2456422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@
'limits': {
# How many CPU seconds can jailed code use?
'CPU': 1,
# How large a file can jailed code write?
'FSIZE': 50000,
},
}

Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2456422

Please sign in to comment.