* VRFS-2045 - remove debug log
This commit is contained in:
parent
776704fdf5
commit
154e2954d2
|
|
@ -569,7 +569,6 @@ module JamWebsockets
|
|||
user = valid_login(username, password, token, client_id)
|
||||
|
||||
# protect against this user swamping the server
|
||||
@log.error "CONNENCTION COUNT #{Connection.where(user_id: user.id).count} MAX CONNECTIONS #{@max_connections_per_user}"
|
||||
if Connection.where(user_id: user.id).count >= @max_connections_per_user
|
||||
raise SessionError, 'max_user_connections'
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue