Explorar el Código

stop listening on the pending updates channels 10 times

Henry Oswald hace 5 años
padre
commit
20a373d95c
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      services/document-updater/app/js/DispatchManager.js

+ 0 - 5
services/document-updater/app/js/DispatchManager.js

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