mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #18012 from overleaf/bg-mongo-upgrade-remove-sort-from-project-deactivation-query
Simplify query for old projects in InactiveProjectManager GitOrigin-RevId: 6c712c3b095abec9c777332a07ed888178947b40
This commit is contained in:
committed by
Copybot
parent
702615acc9
commit
2100cd14fc
@@ -64,7 +64,6 @@ const InactiveProjectManager = {
|
||||
.where('active')
|
||||
.equals(true)
|
||||
.select('_id')
|
||||
.sort({ _id: 1 })
|
||||
.limit(limit)
|
||||
.read(READ_PREFERENCE_SECONDARY)
|
||||
.exec()
|
||||
|
||||
Reference in New Issue
Block a user