Skip to content

Commit 69d4e44

Browse files
author
James Boulton
committed
relax polling to reduce cpu usage
1 parent 931e9ad commit 69d4e44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dashio/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def run(self):
734734

735735
while self.running:
736736
try:
737-
socks = dict(poller.poll(1))
737+
socks = dict(poller.poll(100))
738738
except zmq.error.ContextTerminated:
739739
break
740740
if self.rx_zmq_sub in socks:

0 commit comments

Comments
 (0)