* fixing yet another bug associated with websockets and reconnect
This commit is contained in:
parent
30b3098244
commit
15936855e9
|
|
@ -642,7 +642,7 @@ module JamWebsockets
|
|||
|
||||
|
||||
ConnectionManager.active_record_transaction do |connection_manager|
|
||||
heartbeat_interval, connection_stale_time, connection_expire_time = determine_connection_times(context.user, client_type)
|
||||
heartbeat_interval, connection_stale_time, connection_expire_time = determine_connection_times(context.user, context.client_type)
|
||||
connection_manager.reconnect(connection, connection.music_session_id, nil, connection_stale_time, connection_expire_time)
|
||||
end if connection.stale?
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue