From d794331360ec31c2e26bfb20a9ca6e9edd01dcbd Mon Sep 17 00:00:00 2001 From: Joseph Banks Date: Fri, 24 Jan 2020 00:59:48 +0000 Subject: Increase time limit from 2 to 5 seconds --- README.md | 2 +- snekbox.cfg | 2 +- 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" -- cgit v1.2.3