|
@@ -67,7 +67,7 @@ def flush_data(address, data):
|
|
|
def compile_file(address, mod_filename, filename, mode, proc):
|
|
|
# Load in the file required
|
|
|
try:
|
|
|
- timeout_val = 120
|
|
|
+ timeout_val = 240
|
|
|
import random
|
|
|
username = str(random.random())
|
|
|
while 1:
|
|
@@ -157,7 +157,7 @@ def run_file(files, parameters, expected, mode):
|
|
|
for e in expected:
|
|
|
c = len(e) if isinstance(e, set) else 1
|
|
|
for _ in range(c):
|
|
|
- val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=120).read()
|
|
|
+ val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=240).read()
|
|
|
|
|
|
if proc.returncode is not None:
|
|
|
# Modelverse has already terminated, which isn't a good sign!
|