mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9362d286b7
[web] migrations: cut delay in auditLog migration from 10s to 10ms GitOrigin-RevId: 2a6525212149c5e0f1ebfec4023f4e0fe91ecc5f
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
const runScript = require('../scripts/migrate_audit_logs.js')
|
|
|
|
exports.tags = ['server-ce', 'server-pro']
|
|
|
|
exports.migrate = async () => {
|
|
const options = {
|
|
letUserDoubleCheckInputsFor: 10,
|
|
writeConcurrency: 5,
|
|
dryRun: false,
|
|
}
|
|
await runScript(options)
|
|
}
|
|
|
|
exports.rollback = async () => {}
|