Skip to content

Commit 1c5a607

Browse files
committed
correct log message (to→from)
The order of “previous seq num” & “current seq num” were incorrect
1 parent 4be9356 commit 1c5a607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/osm2pgsql-replication

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def update(props, args):
518518

519519
remote_server_age_sec = int((dt.datetime.now(dt.timezone.utc) - current.timestamp).total_seconds())
520520
LOG.debug("Need to apply %d sequence(s) (%d → %d), covering %s (%s sec) of changes (%s → %s)",
521-
current.sequence - seq, current.sequence, seq,
521+
current.sequence - seq, seq, current.sequence,
522522
pretty_format_timedelta((current.timestamp - ts).total_seconds()),
523523
int((current.timestamp - ts).total_seconds()),
524524
osm_date(ts.astimezone(dt.timezone.utc)),

0 commit comments

Comments
 (0)