do not freeze for 2 seconds every 5 seconds when using bonjour under windows. Fixes #6791
This commit is contained in:
parent
31bfc4969a
commit
dc677ab5e9
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue