mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
parent
702615acc9
commit
2100cd14fc
1 changed files with 0 additions and 1 deletions
|
@ -64,7 +64,6 @@ const InactiveProjectManager = {
|
|||
.where('active')
|
||||
.equals(true)
|
||||
.select('_id')
|
||||
.sort({ _id: 1 })
|
||||
.limit(limit)
|
||||
.read(READ_PREFERENCE_SECONDARY)
|
||||
.exec()
|
||||
|
|
Loading…
Reference in a new issue