Skip to content

Commit

Permalink
Merge pull request #570 from ibi-group/allow-disk-space-for-mongo-query
Browse files Browse the repository at this point in the history
fix(FeedUpdater): allow mongo query to use disk space
  • Loading branch information
philip-cline authored Oct 16, 2023
2 parents 2e4ad4f + f465c89 commit 9027b28
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ static Map<String, FeedVersion> getLatestVersionsSentForPublishing(Collection<Fe
return Persistence.feedVersions
.getMongoCollection()
.aggregate(stages)
.allowDiskUse(true)
.into(new ArrayList<>())
.stream()
.collect(Collectors.toMap(v -> v.feedSourceId, Function.identity()));
Expand Down

0 comments on commit 9027b28

Please sign in to comment.