Skip to content

Commit 7cb69d9

Browse files
authored
Increase idle connection check interval to 300s (#475)
This check was creating a lot of TimerHandles when the user had multiple bridges. We do not need to check very often as connections usually stay around for 24+hours
1 parent 4bc2cb0 commit 7cb69d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyhap/hap_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
logger = logging.getLogger(__name__)
1818

19-
IDLE_CONNECTION_CHECK_INTERVAL_SECONDS = 120
19+
IDLE_CONNECTION_CHECK_INTERVAL_SECONDS = 300
2020

2121

2222
class HAPServer:

0 commit comments

Comments
 (0)