Skip to content

Commit

Permalink
Test populateEarliestModified against current prod index.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostlevels committed Jul 23, 2024
1 parent 90975e3 commit 4c9e3b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/store/mongo/mongo_datum.go
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,7 @@ func (d *DatumRepository) populateEarliestModified(ctx context.Context, userId s
"$gt": status.LastUpdated,
}
if lowerTimeBound, err := time.Parse(time.RFC3339, LowerTimeIndexRaw); err == nil && timeMin.After(lowerTimeBound) {
// has blocking sort, but more selective so usually performs better.
findOptions.SetHint("TestUserIdActiveTypeModifiedTimeTime")
findOptions.SetHint("UserIdActiveTypeTimeModifiedTime")
}
}

Expand Down

0 comments on commit 4c9e3b1

Please sign in to comment.