pminervini commited on
Commit
d6f0767
1 Parent(s): 953b663
Files changed (1) hide show
  1. backend-cli.py +0 -16
backend-cli.py CHANGED
@@ -274,22 +274,6 @@ if __name__ == "__main__":
274
 
275
  res = False
276
 
277
- if random.randint(0, 10) == 0:
278
- res = process_pending_requests()
279
- time.sleep(60)
280
-
281
- if res is False:
282
- if random.randint(0, 5) == 0:
283
- res = maybe_refresh_results(500, hard_task_lst=hard_task_lst)
284
- else:
285
- res = process_finished_requests(500, hard_task_lst=hard_task_lst)
286
-
287
- if res is False:
288
- if random.randint(0, 5) == 0:
289
- res = maybe_refresh_results(200, hard_task_lst=hard_task_lst)
290
- else:
291
- res = process_finished_requests(200, hard_task_lst=hard_task_lst)
292
-
293
  if res is False:
294
  if random.randint(0, 5) == 0:
295
  res = maybe_refresh_results(100, hard_task_lst=hard_task_lst)
 
274
 
275
  res = False
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  if res is False:
278
  if random.randint(0, 5) == 0:
279
  res = maybe_refresh_results(100, hard_task_lst=hard_task_lst)