summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-06-26 15:21:20 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-09-03 15:43:53 +0000
commita5860de0e730670e537a0c5da8b53ebed10e333c (patch)
treea9d8678b39a4e06ba2609c3a84853c7e429207e8
parent0ef176c196db439e05026705450f691e678cdccd (diff)
downloadlorry-controller-a5860de0e730670e537a0c5da8b53ebed10e333c.tar.gz
Update ARCH about new API call (remove-ghost-jobs)
-rw-r--r--ARCH5
1 files changed, 5 insertions, 0 deletions
diff --git a/ARCH b/ARCH
index d2d81ad..271b2bc 100644
--- a/ARCH
+++ b/ARCH
@@ -275,6 +275,11 @@ Requests for admins:
of all jobs, running or finished, that it knows about. (RQ/ALLJOBS)
* `POST /1.0/remove-job` with `job_id=jobid` in the body, removes a
stopped job from the state database.
+* `POST /1.0/remove-ghost-jobs` looks for any running jobs in STATEDB
+ that haven't been updated (with `job-update`, see below) in a long
+ time (see `--ghost-timeout`), and marks them as terminated. This is
+ used to catch situations when a MINION fails to tell the WEBAPP that
+ a job has terminated.
Requests for MINION: