diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-06-26 15:21:20 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-06-26 15:56:40 +0000 |
commit | 32d1d95e2c3fea8e8c39a4cb341679681851e397 (patch) | |
tree | ed435b7dcb790d21b327c2a3f621972cf1e14cd6 | |
parent | 33403e1ca0b33fc12e626de2752d56bcd65dd913 (diff) | |
download | lorry-controller-32d1d95e2c3fea8e8c39a4cb341679681851e397.tar.gz |
Update ARCH about new API call (remove-ghost-jobs)
-rw-r--r-- | ARCH | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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: |