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-06-26 15:56:40 +0000
commit32d1d95e2c3fea8e8c39a4cb341679681851e397 (patch)
treeed435b7dcb790d21b327c2a3f621972cf1e14cd6
parent33403e1ca0b33fc12e626de2752d56bcd65dd913 (diff)
downloadlorry-controller-32d1d95e2c3fea8e8c39a4cb341679681851e397.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 23d32d1..7b6500c 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: