Browse Source

Bump up timeouts etc

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
0ee3cf29c1
  1. 2
      c-preload/compiler-wrapper
  2. 2
      etc/config/compiler-explorer.amazon.properties
  3. 2
      etc/config/compiler-explorer.defaults.properties

2
c-preload/compiler-wrapper

@ -15,7 +15,7 @@ ALLOWED_FOR_READ=${ALLOWED_FOR_READ}:/usr/share/fonts:/etc/passwd
# Last-gasp limits
ulimit -m $((512 * 1024)) # RSS limit in K
ulimit -t 5 # CPU time in seconds
ulimit -t 10 # CPU time in seconds
ulimit -v $((2 * 1024 * 1024)) # virtual RAM limit in K
"$@"

2
etc/config/compiler-explorer.amazon.properties

@ -1,6 +1,6 @@
# Settings overridden for Amazon EC2 instances that power http://*.godbolt.org/
googleApiKey=AIzaSyAaz35KJv8DA0ABoime0fEIh32NmbyYbcQ
compileTimeoutMs=5000
compileTimeoutMs=7500
compiler-wrapper=./c-preload/compiler-wrapper
max-asm-size=8388608
staticMaxAgeSecs=30

2
etc/config/compiler-explorer.defaults.properties

@ -1,6 +1,6 @@
# Default settings for GCC Explorer.
port=10240
compileTimeoutMs=3000
compileTimeoutMs=10000
defaultSource=builtin
cacheMb=50
language=C++

Loading…
Cancel
Save