Просмотр исходного кода

Delete logging that will be noisy in production

James Allen 10 лет назад
Родитель
Сommit
7107d9adcd
1 измененных файлов с 0 добавлено и 1 удалено
  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) ->
 		drainedCount = 0
 		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]
 				@RECONNECTED_CLIENTS[client.id] = true
 				logger.log {client_id: client.id}, "Asking client to reconnect gracefully"