mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
stop listening on the pending updates channels 10 times
This commit is contained in:
parent
34bfe9d3b1
commit
20a373d95c
1 changed files with 0 additions and 5 deletions
|
@ -110,10 +110,5 @@ 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