Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
89c48f4a
Commit
89c48f4a
authored
11 years ago
by
Ned Batchelder
Browse files
Options
Downloads
Patches
Plain Diff
Use CodeJail with FSIZE support, and default to 50k
parent
921e78b8
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/envs/common.py
+2
-0
2 additions, 0 deletions
lms/envs/common.py
requirements/edx/github.txt
+1
-1
1 addition, 1 deletion
requirements/edx/github.txt
with
3 additions
and
1 deletion
lms/envs/common.py
+
2
−
0
View file @
89c48f4a
...
...
@@ -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
,
},
}
...
...
This diff is collapsed.
Click to expand it.
requirements/edx/github.txt
+
1
−
1
View file @
89c48f4a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment