mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
increase execution time, lift cpu cap, updated docs
This commit is contained in:
parent
35ddde0106
commit
eec7ec26fa
9 changed files with 10 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
gcc -o binary -x c $1
|
||||
timeout -s KILL 2 ./binary
|
||||
timeout -s KILL 3 ./binary
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
g++ -o binary -x c $1
|
||||
timeout -s KILL 2 ./binary
|
||||
timeout -s KILL 3 ./binary
|
||||
|
|
|
@ -6,4 +6,4 @@ go build $file
|
|||
|
||||
file=${file%%.*}
|
||||
|
||||
timeout -s KILL 2 ./$file
|
||||
timeout -s KILL 3 ./$file
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 2 nodejs $*
|
||||
timeout -s KILL 3 nodejs $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 2 python2 $*
|
||||
timeout -s KILL 3 python2 $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 2 python3.6 $*
|
||||
timeout -s KILL 3 python3.6 $*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
timeout -s KILL 2 ruby $*
|
||||
timeout -s KILL 3 ruby $*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue