mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Make monitor websocket ping/pong an advanced config option
This commit is contained in:
parent
4ef36a464a
commit
97cf2ebe19
3 changed files with 4 additions and 2 deletions
|
@ -422,7 +422,7 @@ def initialize_scheduler():
|
|||
schedule_job(activity_pinger.connect_server, 'Check for server response',
|
||||
hours=0, minutes=0, seconds=0)
|
||||
schedule_job(web_socket.send_ping, 'Websocket ping',
|
||||
hours=0, minutes=0, seconds=10)
|
||||
hours=0, minutes=0, seconds=10 * bool(CONFIG.WEBSOCKET_MONITOR_PING_PONG))
|
||||
|
||||
else:
|
||||
# Cancel all jobs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue