Change max assign time

This commit is contained in:
simon987
2019-04-06 12:50:28 -04:00
parent bfb59c5336
commit 6843900ec6
3 changed files with 3 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ class TaskManager:
pool.close()
def queue_task(self, task: Task):
max_assign_time = 24 * 7 * 3600
max_assign_time = 24 * 4 * 3600
upload_token = uuid4().__str__()
task.upload_token = upload_token