Expire tiles from both osm.gz and osc.gz files
authorPaul Norman <penorman@mac.com>
Thu, 23 Mar 2017 23:39:18 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2017 23:39:18 +0000 (16:39 -0700)
cookbooks/tile/templates/default/expire-tiles.erb

index 6716fd6..1a8a01a 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