Skip to content

Commit

Permalink
Merge branch 'wait-for-at-least-one' into customer-mirage
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 17, 2023
2 parents 6cb0be2 + a93499b commit 69935ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/postgres/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (p *PostgresCDCSource) consumeStream(
pkmRequiresResponse = false
}

if len(localRecords) <= 1 {
if len(localRecords) == 0 {
log.Infof("pushing the standby deadline to %s", time.Now().Add(standbyMessageTimeout))
log.Infof("num records accumulated: %d", len(localRecords))
nextStandbyMessageDeadline = time.Now().Add(standbyMessageTimeout)
Expand Down

0 comments on commit 69935ee

Please sign in to comment.