mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #159 from overleaf/ho-remove-pending-migration-code
stop listening on the pending updates channels 10 times
This commit is contained in:
commit
18cbe6424c
1 changed files with 0 additions and 5 deletions
|
@ -110,10 +110,5 @@ module.exports = DispatchManager = {
|
||||||
_.times(number, function (shardNumber) {
|
_.times(number, function (shardNumber) {
|
||||||
return DispatchManager.createDispatcher(RateLimiter, shardNumber).run()
|
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