* fixing another bug where .reconnect is not supplied the correct arguments
This commit is contained in:
parent
53850a716b
commit
14d6904162
|
|
@ -642,8 +642,10 @@ module JamWebsockets
|
|||
update_notification_seen_at(connection, context, heartbeat)
|
||||
end
|
||||
|
||||
|
||||
ConnectionManager.active_record_transaction do |connection_manager|
|
||||
connection_manager.reconnect(connection, connection.music_session_id, nil)
|
||||
heartbeat_interval, connection_stale_time, connection_expire_time = determine_connection_times(context.user, 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