Commit 90078a2d authored by Simone Rossi's avatar Simone Rossi

[fix] Sleep random time U(0.5s;2s) between submissions

parent 53013033
Pipeline #11296 canceled with stages
......@@ -316,6 +316,8 @@ def main():
continue'Job submitted with ID %d' % exec_id)
import random
time.sleep(random.uniform(0.5, 2))
logger.warning('Quota exceeded. No jobs can be scheduled now! Sleeping')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment