We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d900c0 commit 3b18845Copy full SHA for 3b18845
internal/verifier/change_stream.go
@@ -85,7 +85,7 @@ func (verifier *Verifier) iterateChangeStream(ctx context.Context, cs *mongo.Cha
85
}
86
87
err := verifier.persistChangeStreamResumeToken(ctx, cs)
88
- if err != nil {
+ if err == nil {
89
lastPersistedTime = time.Now()
90
91
0 commit comments