Sfoglia il codice sorgente

Delete logging that will be noisy in production

James Allen 10 anni fa
parent
commit
7107d9adcd
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      services/real-time/app/coffee/DrainManager.coffee

+ 0 - 1
services/real-time/app/coffee/DrainManager.coffee

@@ -14,7 +14,6 @@ module.exports =
 	reconnectNClients: (io, N) ->
 	reconnectNClients: (io, N) ->
 		drainedCount = 0
 		drainedCount = 0
 		for client in io.sockets.clients()
 		for client in io.sockets.clients()
-			logger.log {client_id: client.id, already_reconnecting: @RECONNECTED_CLIENTS[client.id]}, "Considering client"
 			if !@RECONNECTED_CLIENTS[client.id]
 			if !@RECONNECTED_CLIENTS[client.id]
 				@RECONNECTED_CLIENTS[client.id] = true
 				@RECONNECTED_CLIENTS[client.id] = true
 				logger.log {client_id: client.id}, "Asking client to reconnect gracefully"
 				logger.log {client_id: client.id}, "Asking client to reconnect gracefully"