fix: 允许使用磁盘空间进行排序
This commit is contained in:
parent
a06ac5fb55
commit
59b1e3a05e
@ -203,6 +203,7 @@ public class LogServiceImpl implements LogService {
|
||||
log.info("findLogs filter: {}, skip: {}, limit: {}, sort: {}", filterDoc.toString(), skip, limit, sortDoc.toString());
|
||||
ArrayList<LogEntity> logEntityList = new ArrayList<>();
|
||||
try (MongoCursor<Document> cursor = logCollection.find(filterDoc)
|
||||
.allowDiskUse(true)
|
||||
.sort(sortDoc)
|
||||
.skip(skip)
|
||||
.limit(limit)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user