diff --git a/websocket-gateway/lib/jam_websockets/router.rb b/websocket-gateway/lib/jam_websockets/router.rb index 62f5b6b87..f7c3bfea6 100644 --- a/websocket-gateway/lib/jam_websockets/router.rb +++ b/websocket-gateway/lib/jam_websockets/router.rb @@ -970,7 +970,7 @@ module JamWebsockets profile_it('heartbeat_touch') { # update connection updated_at and if the user is active - Connection.where(id: connection.id).update_all(user_active: heartbeat.active) + Connection.where(id: connection.id).update_all(user_active: heartbeat.active, updated_at: Time.now) } profile_it('heartbeat_notification') {