frappe / agent

Works with https://github.com/frappe/press
GNU Affero General Public License v3.0
66 stars 88 forks source link

Show job status for timed out jobs as Failure #101

Open adityahase opened 6 months ago

adityahase commented 6 months ago
20:31:48 low: backup_job....
20:31:48.529350", "status": "Running"}
22:12:49 Killed horse pid 3060818
22:12:49 Moving job to FailedJobRegistry (Work-horse terminated unexpectedly; waitpid returned None; )

Possible Solutions

  1. RQ should have a hook for this. after_job/failed_job/worker_killed etc.
  2. We can peek in Redis to see if the job is running/pending, or is in the failed queue or not in any queue.
ankush commented 6 months ago

RQ has on_failure