From 3d8c764eb0d0fd4aed3b500b0b2cd8b563702d5e Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Thu, 20 Jun 2013 17:13:49 +0200 Subject: [PATCH] relax timeouts for device requests --- lib/logitech/unifying_receiver/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logitech/unifying_receiver/base.py b/lib/logitech/unifying_receiver/base.py index 4dcca760..79812172 100644 --- a/lib/logitech/unifying_receiver/base.py +++ b/lib/logitech/unifying_receiver/base.py @@ -36,9 +36,9 @@ _MEDIUM_MESSAGE_SIZE = 15 _MAX_READ_SIZE = 32 """Default timeout on read (in seconds).""" -DEFAULT_TIMEOUT = 2 +DEFAULT_TIMEOUT = 4 # the receiver itself should reply very fast, within 500ms -_RECEIVER_REQUEST_TIMEOUT = 0.5 +_RECEIVER_REQUEST_TIMEOUT = 0.9 # devices may reply a lot slower, as the call has to go wireless to them and come back _DEVICE_REQUEST_TIMEOUT = DEFAULT_TIMEOUT # when pinging, be extra patient