Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 17, 2023
1 parent efb5dd4 commit a93499b
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 a93499b

Please sign in to comment.