do not freeze for 2 seconds every 5 seconds when using bonjour under windows. Fixes #6791

This commit is contained in:
Yann Leboulanger 2011-08-21 18:16:26 +02:00
parent 31bfc4969a
commit dc677ab5e9
1 changed files with 1 additions and 1 deletions

View File

@ -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)