From: Sarah Hoffmann Date: Sun, 21 Jun 2015 19:40:48 +0000 (+0200) Subject: nominatim: reduce archive time even more X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/91aa30929ba9c50ef31c030c1c34bf89bee4b2b0 nominatim: reduce archive time even more --- diff --git a/cookbooks/nominatim/templates/default/clean-db-nominatim.erb b/cookbooks/nominatim/templates/default/clean-db-nominatim.erb index 42fd9b4d4..55c2314be 100644 --- a/cookbooks/nominatim/templates/default/clean-db-nominatim.erb +++ b/cookbooks/nominatim/templates/default/clean-db-nominatim.erb @@ -15,6 +15,6 @@ done <% if node[:postgresql][:settings][:defaults][:archive_mode] == "on" -%> # Cleanup archive directory -find -L /data/postgresql-archive -mtime +2 -print0 | xargs -0r rm +find -L /data/postgresql-archive -mtime +1 -print0 | xargs -0r rm <% end -%>