overleaf/services/web/migrations/20220913125500_migrate_auditLog_to_collections.js
Miguel Serrano 877638f09c [web/scripts] Process users' projects with promiseMapWithLimit() (#9807)
* [web/scripts] Process users' projects with `promiseMapWithLimit()`
* [web/scripts] Added several optimisations to migration script

GitOrigin-RevId: 0dd221a3a8b4bb64f412636faa17e81249ca6c4f
2022-10-05 08:04:02 +00:00

13 lines
271 B
JavaScript

const runScript = require('../scripts/migrate_audit_logs.js')
exports.tags = ['server-ce', 'server-pro']
exports.migrate = async () => {
const options = {
writeConcurrency: 5,
dryRun: false,
}
await runScript(options)
}
exports.rollback = async () => {}