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-09-03 15:43:53 +0000 |
commit | a5860de0e730670e537a0c5da8b53ebed10e333c (patch) | |
tree | a9d8678b39a4e06ba2609c3a84853c7e429207e8 | |
parent | 0ef176c196db439e05026705450f691e678cdccd (diff) | |
download | lorry-controller-a5860de0e730670e537a0c5da8b53ebed10e333c.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: |