* fixing another bug where .reconnect is not supplied the correct arguments

This commit is contained in:
Seth Call 2014-05-02 07:39:09 -05:00
parent 53850a716b
commit 14d6904162
1 changed files with 3 additions and 1 deletions

View File

@ -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