mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Fix plexWatch db importer.
Always return None on exception in http handler. Increase websocket retry counts.
This commit is contained in:
parent
16b20976b6
commit
6e2fa9a3b4
3 changed files with 11 additions and 9 deletions
|
@ -50,7 +50,7 @@ def run():
|
|||
reconnects = 0
|
||||
|
||||
# Try an open the websocket connection - if it fails after 5 retries fallback to polling
|
||||
while not ws_connected and reconnects < 5:
|
||||
while not ws_connected and reconnects < 15:
|
||||
try:
|
||||
logger.info(u'PlexPy WebSocket :: Opening websocket, connection attempt %s.' % str(reconnects + 1))
|
||||
ws = create_connection(uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue