From dc677ab5e950a3abac32ca6d595010aae09ab375 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 21 Aug 2011 18:16:26 +0200 Subject: [PATCH] do not freeze for 2 seconds every 5 seconds when using bonjour under windows. Fixes #6791 --- src/common/zeroconf/zeroconf_bonjour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/zeroconf/zeroconf_bonjour.py b/src/common/zeroconf/zeroconf_bonjour.py index 1e57c0176..c8270c178 100644 --- a/src/common/zeroconf/zeroconf_bonjour.py +++ b/src/common/zeroconf/zeroconf_bonjour.py @@ -286,7 +286,7 @@ class Zeroconf: self.error_CB("Error while browsing: %s" % e) def browse_loop(self): - ready = select.select([self.browse_sdRef], [], [], 2) + ready = select.select([self.browse_sdRef], [], [], 0) if self.browse_sdRef in ready[0]: pybonjour.DNSServiceProcessResult(self.browse_sdRef)