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:
Henry Oswald 2021-02-23 13:29:52 +00:00 committed by GitHub
commit 18cbe6424c

View file

@ -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()
})
}
}