From: Grant Slater Date: Tue, 3 Dec 2024 15:53:03 +0000 (+0000) Subject: imagery: increase randomise delay on mapserver restart X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/16c9e170f6e1df8c3618615410367f2fe89c41b1?ds=sidebyside;hp=11fdeeaa56975b200a46cc3ee7124e529621fba9 imagery: increase randomise delay on mapserver restart --- diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index d8b8e11e6..d9dad4be8 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -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