stop listening on the pending updates channels 10 times

This commit is contained in:
Henry Oswald 2021-02-23 08:27:29 +00:00
parent 34bfe9d3b1
commit 20a373d95c

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