[Tile-serving] [openstreetmap/osm2pgsql] add an 'info' command which prints the lag (& in JSON) (#1548)

Amanda notifications at github.com
Tue Aug 17 10:25:24 UTC 2021


@amandasaurus commented on this pull request.



> @@ -115,6 +134,84 @@ def update_replication_state(conn, table, seq, date):
 
     conn.commit()
 
+def status(conn, args):
+    """\
+    Print information about the current replication status
+    """

You can see the original version here. It had the same (low level of) detail https://github.com/openstreetmap/osm2pgsql/commit/eb4c79c4625c9fc384a3e1701c9f3a4fd07194f6

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1548#discussion_r690237991
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210817/449ed1f1/attachment-0001.htm>


More information about the Tile-serving mailing list