Skip to content

Commit

Permalink
Continue on conn closed heartbeats
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Oct 15, 2024
1 parent 279c5cb commit 8fe5f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/replicator/pgreplicator/pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (p *pg) Pull(ctx context.Context, cc chan *changeset.Changeset) error {
p.queryLock.Unlock()

if isConnClosedErr(err) && p.queryConn.IsClosed() {
return
continue
}

if err != nil {
Expand Down

0 comments on commit 8fe5f77

Please sign in to comment.