Skip to content

Commit ee50b48

Browse files
committed
fix time limit
1 parent f01cf2a commit ee50b48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ea_tasks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ def run_quick(query, db, username, lp):
346346

347347

348348
#@app.task(base=CustomTask, soft_time_limit=10, time_limit=20)
349-
@app.task(base=CustomTask)
349+
#@app.task(base=CustomTask)
350+
@app.task(base=CustomTask, soft_time_limit=3600*2, time_limit=3600*4)
350351
def desthumb(inputs, uu, pp, outputs, xs, ys, jobid, listonly, send_email, email):
351352
response = {}
352353
response['user'] = uu

0 commit comments

Comments
 (0)