Make it 10 seconds when it comes to poll time
This commit is contained in:
parent
55f1a33d90
commit
7d1c9275f5
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class MusicSnapcastBackend(Backend):
|
|||
"""
|
||||
|
||||
_DEFAULT_SNAPCAST_PORT = 1705
|
||||
_DEFAULT_POLL_SECONDS = 5 # Poll servers each 5 seconds
|
||||
_DEFAULT_POLL_SECONDS = 10 # Poll servers each 10 seconds
|
||||
_SOCKET_EOL = '\r\n'.encode()
|
||||
|
||||
def __init__(self, hosts=['localhost'], ports=[_DEFAULT_SNAPCAST_PORT],
|
||||
|
@ -46,7 +46,7 @@ class MusicSnapcastBackend(Backend):
|
|||
:type ports: list[int]
|
||||
|
||||
:param poll_seconds: How often the backend will poll remote servers for
|
||||
status updated (default: 5 seconds)
|
||||
status updated (default: 10 seconds)
|
||||
:type poll_seconds: float
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue