mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Merge pull request #11791 from overleaf/msm-track-changes-flush-fix
[track-changes] add `waitForDb` to `scripts/flush_all.js` GitOrigin-RevId: 318c0b4334bd70dddb3b5fe585e70c51d54af491
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
const UpdatesManager = require('../app/js/UpdatesManager')
|
||||
const { waitForDb } = require('../app/js/mongodb')
|
||||
|
||||
async function main() {
|
||||
await waitForDb()
|
||||
return new Promise((resolve, reject) => {
|
||||
const limit = -1
|
||||
console.log('Flushing all updates')
|
||||
|
||||
Reference in New Issue
Block a user