* fix heartbeat disconnect
This commit is contained in:
parent
51977c7cc3
commit
1d532cc305
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue