From 7d1c9275f5a17d3b1896d5c62ba712955170a385 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 16 Feb 2019 20:21:04 +0100 Subject: [PATCH] Make it 10 seconds when it comes to poll time --- platypush/backend/music/snapcast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/backend/music/snapcast.py b/platypush/backend/music/snapcast.py index 3ea1b274d..dab792a92 100644 --- a/platypush/backend/music/snapcast.py +++ b/platypush/backend/music/snapcast.py @@ -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 """