Selaa lähdekoodia

add load balancing

Dotos 8 vuotta sitten
vanhempi
sitoutus
9e28f53c5e
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      bin/www

+ 0 - 4
bin/www

@@ -99,10 +99,6 @@ if (cluster.isMaster) {
      */
 
     function onListening() {
-
-        if (cluster.isWorker) {
-            console.log('worker' + cluster.worker.id);
-        }
         let addr = server.address();
         let bind = typeof addr === 'string' ?
             'pipe ' + addr :