From bd22adc77cb1172dfed88299fbb1bb5abc53d83f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 20 Feb 2014 16:57:30 +0000 Subject: Document the STATEDB running_queue table in ARCH --- ARCH | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 =================== -- cgit v1.2.1