summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-10-17 15:27:14 +0300
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-22 15:51:07 +0100
commit4efbdabd77d2ec71766d2ab140198964202884e1 (patch)
tree647ddfcd1ef065aabf92172829479e8eab2e8c6e
parente96aeb1260382cdaa297b22d12e37bab69ac6444 (diff)
downloadlorry-controller-4efbdabd77d2ec71766d2ab140198964202884e1.tar.gz
Document how old job removal is to work
-rw-r--r--ARCH11
1 files changed, 11 insertions, 0 deletions
diff --git a/ARCH b/ARCH
index 1588dfc..6eb8376 100644
--- a/ARCH
+++ b/ARCH
@@ -372,6 +372,17 @@ The MINION
to WEBAPP.
* Go back to top to request new job.
+
+Old job removal
+---------------
+
+To avoid the STATEDB filling up with logs of old jobs, a systemd timer
+unit will run occasionally to remove jobs so old, nobody cares about
+them anymore. To make it easier to experiment with the logic of
+choosing what to remove (age only? keep failed ones? something else?)
+the removal is kept outside the WEBAPP.
+
+
STATEDB
-------