From 51699bfdbbe2627759fd3bda11f132f3393dbae1 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 16 Nov 2021 17:56:59 +0100 Subject: [PATCH] Plex Companion: Increase read timeout from 3 to 4 seconds to fix ReadTimeout --- resources/lib/plex_companion/polling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/plex_companion/polling.py b/resources/lib/plex_companion/polling.py index f254bad3..8b875603 100644 --- a/resources/lib/plex_companion/polling.py +++ b/resources/lib/plex_companion/polling.py @@ -18,7 +18,7 @@ requests.packages.urllib3.disable_warnings() # Timeout (connection timeout, read timeout) # The later is up to 20 seconds, if the PMS has nothing to tell us # THIS WILL PREVENT PKC FROM SHUTTING DOWN CORRECTLY -TIMEOUT = (5.0, 3.0) +TIMEOUT = (5.0, 4.0) # Max. timeout for the Listener: 2 ^ MAX_TIMEOUT # Corresponds to 2 ^ 7 = 128 seconds