Skip to content

Commit

Permalink
missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-goodisman committed Apr 29, 2024
1 parent 163729f commit f18346e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oplog/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (tailer *Tailer) tailOnce(out []chan<- *redispub.Publication, stop <-chan b

oplogCollection := session.Client().Database("local").Collection("oplog.rs")

startTime := tailer.getStartTime(parallelismSize-1, func() (*primitive.Timestamp, error) {
startTime := tailer.getStartTime(len(out)-1, func() (*primitive.Timestamp, error) {
// Get the timestamp of the last entry in the oplog (as a position to
// start from if we don't have a last-written timestamp from Redis)
var entry rawOplogEntry
Expand Down

0 comments on commit f18346e

Please sign in to comment.