]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/clean-db-nominatim.erb
nominatim: reduce archive time even more
[chef.git] / cookbooks / nominatim / templates / default / clean-db-nominatim.erb
index 42fd9b4d43bb8faf6a33234157a66177559e3e4c..55c2314be9d48ab3ffd492562b21969ff57def58 100644 (file)
@@ -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 -%>