From f62feff0ce0768b74303be8ec0f939277353cd91 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 10 Dec 2024 15:35:40 +0000 Subject: [PATCH] imagery: stop mapserver more frequently --- cookbooks/imagery/resources/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index adbd8e857..7137458b3 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -153,8 +153,8 @@ action :create do systemd_timer "mapserv-fcgi-#{new_resource.site}-stop" do on_boot_sec "10m" - on_unit_inactive_sec "1h" - randomized_delay_sec "30m" + on_unit_inactive_sec "30m" + randomized_delay_sec "20m" not_if { new_resource.uses_tiler } end -- 2.39.5