Skip to content

Commit 4be9356

Browse files
committed
Log message improvement
This log message implies all these changes will be applied. But with high lag, that might not happen. Clarify the log message
1 parent 5957717 commit 4be9356

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
@@ -517,7 +517,7 @@ def update(props, args):
517517
return 0
518518

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

0 commit comments

Comments
 (0)