]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: increase randomise delay on mapserver restart
authorGrant Slater <github@firefishy.com>
Tue, 3 Dec 2024 15:53:03 +0000 (15:53 +0000)
committerGrant Slater <github@firefishy.com>
Tue, 3 Dec 2024 15:53:03 +0000 (15:53 +0000)
cookbooks/imagery/resources/site.rb

index d8b8e11e6e104df20a4418bbc4c09f1a487fa06c..d9dad4be87bb5bbb51c34d9027a89ffe561d622a 100644 (file)
@@ -152,7 +152,7 @@ action :create do
   systemd_timer "mapserv-fcgi-#{new_resource.site}-stop" do
     on_boot_sec "10m"
     on_unit_inactive_sec "1h"
-    randomized_delay_sec "10m"
+    randomized_delay_sec "30m"
     not_if { new_resource.uses_tiler }
   end