aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2020-01-24 00:59:48 +0000
committerGravatar Joseph Banks <[email protected]>2020-01-24 00:59:48 +0000
commitd794331360ec31c2e26bfb20a9ca6e9edd01dcbd (patch)
tree47c67753634ace1c95c9e0e08515ae5731c00d7f
parentFix #56: stdout and stderr outputs in wrong order (diff)
Increase time limit from 2 to 5 seconds
-rw-r--r--README.md2
-rw-r--r--snekbox.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d90609e..bbb8d64 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ result <- | |<----------| | <----------+
The code is executed in a Python process that is launched through [NsJail](https://github.com/google/nsjail), which is responsible for sandboxing the Python process. NsJail is configured as follows:
* All mounts are read-only
-* Time limit of 2 seconds
+* Time limit of 5 seconds
* Maximum of 1 PID
* Maximum memory of 52428800 bytes
* Loopback interface is down
diff --git a/snekbox.cfg b/snekbox.cfg
index 1d58ea5..968271c 100644
--- a/snekbox.cfg
+++ b/snekbox.cfg
@@ -5,7 +5,7 @@ mode: ONCE
hostname: "snekbox"
cwd: "/snekbox"
-time_limit: 2
+time_limit: 5
keep_env: false
envar: "LANG=en_US.UTF-8"