Skip to content

Commit

Permalink
🤦‍
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrinot committed May 24, 2024
1 parent b262934 commit 7b387b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public void put(Collection<SinkRecord> collection) {
if (remainingMs <= 0) {
log.debug("Flushing data to QuestDB due to auto_flush_interval timeout");
flushAndResetCounters();
} if (allowedLag == 0) {
} else if (allowedLag == 0) {
log.debug("Flushing data to QuestDB due to zero allowed lag");
flushAndResetCounters();
} else {
Expand Down

0 comments on commit 7b387b6

Please sign in to comment.