mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
WebSocket send ping to server every 10 sec
This commit is contained in:
parent
e4f4900499
commit
0aa4ffd1bc
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class WebSocket_Client(threading.Thread):
|
|||
|
||||
while not monitor.abortRequested():
|
||||
|
||||
self.client.run_forever()
|
||||
self.client.run_forever(ping_interval = 10)
|
||||
if self.stopWebsocket:
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue