summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-02-20 16:57:30 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-02-20 16:57:30 +0000
commitbd22adc77cb1172dfed88299fbb1bb5abc53d83f (patch)
treed70cc2fdf198f8b2b2a57ff75b834e743a0e809d
parente8c850f9a50485a53cc5a111cff5aced7233c112 (diff)
downloadlorry-controller-bd22adc77cb1172dfed88299fbb1bb5abc53d83f.tar.gz
Document the STATEDB running_queue table in ARCH
-rw-r--r--ARCH11
1 files changed, 11 insertions, 0 deletions
diff --git a/ARCH b/ARCH
index 193b646..7a81fbb 100644
--- a/ARCH
+++ b/ARCH
@@ -324,6 +324,17 @@ The MINION
to WEBAPP.
* Go back to top to request new job.
+STATEDB
+-------
+
+The STATEDB has several tables. This section explains them.
+
+The `running_queue` table has a single column (`running`) and a single
+row, and is used to store a single boolean value that specifies
+whether WEBAPP is giving out jobs to run from the run-queue. This
+value is controlled by `/1.0/start-queue` and `/1.0/stop-queue`
+requests.
+
Implementation plan
===================