Skip to content

Commit

Permalink
chore: log current highwater mark when processing events
Browse files Browse the repository at this point in the history
this will tell us how far we've made it in addition to how many events we've had to process
  • Loading branch information
dav1do committed Nov 27, 2024
1 parent f03b778 commit 624f1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-svc/src/event/ordering_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ impl OrderingState {
.await?;
event_cnt += number_processed;
if event_cnt % LOG_EVERY_N_ENTRIES < number_processed {
info!(count=%event_cnt, "Processed undelivered events");
info!(count=%event_cnt, highwater=%new_hw, "Processed undelivered events");
}
}
if !found_something || found_everything {
Expand Down

0 comments on commit 624f1cc

Please sign in to comment.