Skip to content

Commit

Permalink
Use correct order for tile numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jun 19, 2024
1 parent 14b30f0 commit 22fd94d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/tile/templates/default/expire-tiles.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ expiredTime = Time.new(2000, 1, 1)
Dir.glob("/var/lib/replicate/expire-queue/changes-*.txt").sort.each do |f|
File.open(f, "r") do |file|
file.each do |line|
z, y, x = line.split("/")
z, x, y = line.split("/")
z = z.to_i + 3
y = y.to_i * 8
x = x.to_i * 8
y = y.to_i * 8
hash = []
Expand Down

0 comments on commit 22fd94d

Please sign in to comment.