mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] reset broken job log on reboot
This commit is contained in:
parent
e9f2fba021
commit
80795da9a7
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -73,7 +73,7 @@ jobs_in_memory_state = {}
|
|||
|
||||
|
||||
def reset_pending_jobs():
|
||||
Job.update(state="scheduled").where(Job.state == "running").execute()
|
||||
Job.update(state="scheduled", log="").where(Job.state == "running").execute()
|
||||
|
||||
|
||||
def reset_busy_workers():
|
||||
|
|
Loading…
Add table
Reference in a new issue