[mod] I don't need this anymore

This commit is contained in:
Laurent Peuch 2018-07-21 08:23:59 +02:00
parent be4457f713
commit 22a3c86a37

3
run.py
View file

@ -228,9 +228,6 @@ async def run_job(worker, job):
"data": model_to_dict(job),
}, ["jobs", f"job-{job.id}"])
# XXX stupid crap to stimulate long jobs
await asyncio.sleep(random.randint(1, 15))
# await asyncio.sleep(5)
task_logger.info(f"Finished job '{job.name}'")
await command.wait()