mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Remove useSecondary from backup worker to fix false positive errors during MongoDB failover (#34186)
* Initial plan * Remove useSecondary from configureBackup to fix false positive backup errors Co-authored-by: briangough <7457354+briangough@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: briangough <7457354+briangough@users.noreply.github.com> GitOrigin-RevId: f7c9bb88fb2f7526948fee196f0444bd33a96e56
This commit is contained in:
committed by
Copybot
co-authored by
briangough
parent
0da93aaab3
commit
a2f72adf67
@@ -19,7 +19,7 @@ const LAG_TIME_BUCKETS_HRS = [
|
|||||||
] // hours
|
] // hours
|
||||||
|
|
||||||
// Configure backup settings to match worker concurrency
|
// Configure backup settings to match worker concurrency
|
||||||
configureBackup({ concurrency: UPLOAD_CONCURRENCY, useSecondary: true })
|
configureBackup({ concurrency: UPLOAD_CONCURRENCY })
|
||||||
|
|
||||||
let gracefulShutdownInitiated = false
|
let gracefulShutdownInitiated = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user