mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] I don't need this anymore
This commit is contained in:
parent
be4457f713
commit
22a3c86a37
1 changed files with 0 additions and 3 deletions
3
run.py
3
run.py
|
@ -228,9 +228,6 @@ async def run_job(worker, job):
|
||||||
"data": model_to_dict(job),
|
"data": model_to_dict(job),
|
||||||
}, ["jobs", f"job-{job.id}"])
|
}, ["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}'")
|
task_logger.info(f"Finished job '{job.name}'")
|
||||||
|
|
||||||
await command.wait()
|
await command.wait()
|
||||||
|
|
Loading…
Add table
Reference in a new issue