Skip to content

Commit 1ae9760

Browse files
committed
increased limits
1 parent 1dd5725 commit 1ae9760

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎v4-cokapi/backends/java/java_jail‎

‎v4-cokapi/backends/java/run-java-backend.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
# tricky! use a heredoc to pipe the $1 argument into the stdin of the
99
# java executable WITHOUT interpreting escape chars such as '\n' ...
1010
# echo doesn't work here since it interprets '\n' and other chars
11-
cat <<ENDEND | java -cp /tmp/java_jail/cp:/tmp/java_jail/cp/javax.json-1.0.jar:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar:/tmp/java_jail/cp/visualizer-stdlib traceprinter.InMemory
11+
cat <<ENDEND | java -Xmx256M -cp /tmp/java_jail/cp:/tmp/java_jail/cp/javax.json-1.0.jar:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar:/tmp/java_jail/cp/visualizer-stdlib traceprinter.InMemory
1212
$1
1313
ENDEND

‎v4-cokapi/cokapi.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var PYTHON2_BIN = '/usr/bin/python';
5656
var PYTHON3_BIN = '/usr/local/bin/python3.3';
5757

5858
var TIMEOUT_SECS = 3;
59-
var JAVA_TIMEOUT_SECS = 6; // the Java backend is SUPER SLOW :/
59+
var JAVA_TIMEOUT_SECS = 15; // the Java backend is SUPER SLOW :/
6060

6161

6262
// bind() res and useJSONP before using

0 commit comments

Comments
 (0)