]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/expire-tiles.erb
Expire tiles from both osm.gz and osc.gz files
[chef.git] / cookbooks / tile / templates / default / expire-tiles.erb
index 6716fd66c2597cf194220e7de9a8cf9379535f42..1a8a01a26b190ebff4fbe4082eccb8503d2e066b 100644 (file)
@@ -12,7 +12,7 @@ tile_dirs = [
 
 max_zoom = <%= node[:tile][:styles].collect { |n,d| d[:max_zoom] }.max %>
 
-Dir.glob("/var/lib/replicate/expire-queue/changes-*.osm.gz").each do |f|
+Dir.glob("/var/lib/replicate/expire-queue/changes-*.gz").each do |f|
    Expire::expire(f, 13, max_zoom, tile_dirs)
    File::unlink(f)
 end