]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: restart titiler more frequently
authorGrant Slater <github@firefishy.com>
Wed, 11 Dec 2024 20:14:38 +0000 (20:14 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 11 Dec 2024 20:14:38 +0000 (20:14 +0000)
cookbooks/imagery/recipes/tiler.rb

index d56357d62f41ea9f37929c3698dde1bead254a7c..ec7daa835ebc5594e27751f756e7369e375e13b4 100644 (file)
@@ -63,8 +63,9 @@ systemd_service "titiler-restart" do
 end
 
 systemd_timer "titiler-restart" do
-  on_boot_sec "6h"
-  on_unit_inactive_sec "12h"
+  on_boot_sec "10m"
+  on_unit_inactive_sec "30m"
+  randomized_delay_sec "20m"
 end
 
 service "titiler-restart.timer" do