summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-09-15 00:42:03 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-09-15 01:02:55 +0100
commite95db1291a4895da6dc53b28afbdbbbcaa73dec1 (patch)
tree874ec7e16c45c3dd07d65a25d374e3d3849ee7ef
parent7ac78c8a93afac448825b5f97a37eb47467b36ba (diff)
downloadlorry-controller-e95db1291a4895da6dc53b28afbdbbbcaa73dec1.tar.gz
units: Increase delay for lorry-controller-remove-old-jobs
lorry-controller-remove-old-jobs is currently run at very short intervals, with a delay of 1 minute between each run. Its work isn't time-critical, and this results in a lot of unnecessary work and log spam. Increase the delay between runs to 1 hour. Related to #18.
-rw-r--r--units/lorry-controller-remove-old-jobs.timer2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/lorry-controller-remove-old-jobs.timer b/units/lorry-controller-remove-old-jobs.timer
index 508a43f..186d4f3 100644
--- a/units/lorry-controller-remove-old-jobs.timer
+++ b/units/lorry-controller-remove-old-jobs.timer
@@ -5,4 +5,4 @@ Description=Lorry Controller remove old jobs
WantedBy=multi-user.target
[Timer]
-OnUnitInactiveSec=60
+OnUnitInactiveSec=1h