mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 16:01:27 +00:00
add Dispatchers running on old queue while we migrate
revert once migrated
This commit is contained in:
parent
854e24bb57
commit
c7e57cd28f
1 changed files with 5 additions and 0 deletions
|
@ -110,5 +110,10 @@ module.exports = DispatchManager = {
|
|||
_.times(number, function (shardNumber) {
|
||||
return DispatchManager.createDispatcher(RateLimiter, shardNumber).run()
|
||||
})
|
||||
|
||||
// run extra dispatchers on old queue while we migrate
|
||||
_.times(number, function () {
|
||||
return DispatchManager.createDispatcher(RateLimiter, 0).run()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue