]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/files/default/replication-bin/replicate-changesets
Tilecache: Reduce delay-pool top-up. Bigger bucket
[chef.git] / cookbooks / planet / files / default / replication-bin / replicate-changesets
index b472d795291a16e83a251c918bd9c9b7e1f9c81b..e2d4cc109e35b919c4491741d715229b98575907 100644 (file)
@@ -84,7 +84,7 @@ class Replicator
       xml['created_at'] = cs.created_at.getutc.xmlschema
       xml['closed_at'] = cs.closed_at.getutc.xmlschema if cs.closed?(@now)
       xml['open'] = cs.open?(@now).to_s
-      xml['num_changes'] = cs.num_changes
+      xml['num_changes'] = cs.num_changes.to_s
 
       res = @conn.exec("select u.id, u.display_name, c.min_lat, c.max_lat, c.min_lon, c.max_lon from users u join changesets c on u.id=c.user_id where c.id=#{cs.id}")
       xml['user'] = res[0]['display_name']