summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-30 17:55:36 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-30 17:55:36 +0000
commiteabde7c4a095857364e06daf0b29f99a8e6839c0 (patch)
treed9c666d42534aa748f021601b52c6d9929dcbb43
parentb76058177d73b2973c29dcfecfabd8fe1ab9a6d2 (diff)
downloadinfrastructure-sam/ostree-releases.tar.gz
baserock_ostree: Update summary files every 1 minutesam/ostree-releases
The update takes seconds, and it's annoying to push something and then have to wait 5 minutes for `bst track` to notice, so let's do the summary updates more frequently.
-rw-r--r--baserock_ostree/etc/systemd/system/ostree-update-summary-cache.timer2
-rw-r--r--baserock_ostree/etc/systemd/system/ostree-update-summary-releases.timer2
2 files changed, 2 insertions, 2 deletions
diff --git a/baserock_ostree/etc/systemd/system/ostree-update-summary-cache.timer b/baserock_ostree/etc/systemd/system/ostree-update-summary-cache.timer
index 3696b028..40fd3d29 100644
--- a/baserock_ostree/etc/systemd/system/ostree-update-summary-cache.timer
+++ b/baserock_ostree/etc/systemd/system/ostree-update-summary-cache.timer
@@ -2,7 +2,7 @@
Description = Update OSTree summary files for 'cache' repo
[Timer]
-OnUnitActiveSec = 5min
+OnUnitActiveSec = 1min
[Install]
WantedBy = default.target
diff --git a/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.timer b/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.timer
index eea6dd5a..8d3b0bb9 100644
--- a/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.timer
+++ b/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.timer
@@ -2,7 +2,7 @@
Description = Update OSTree summary files for 'releases' repo
[Timer]
-OnUnitActiveSec = 5min
+OnUnitActiveSec = 1min
[Install]
WantedBy = default.target