Browse files

Changes seconds to milliseconds in poller loop.

This corrects the timeout duration in the poller loop used to read data
from external programs.  Code was written assuming timeouts in floating
point seconds, while poll() API takes milliseconds.  Ahh.. consistency..

Fixes #10837
  • Loading branch information...
wagnerrp committed Jun 20, 2012
1 parent 121ebdd commit 76433930fed60342a4b2929c6ff94a8413673e5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/bindings/python/MythTV/
@@ -961,7 +961,7 @@ def run(self):
fds[pipe.fileno()] = (weakref.ref(buff), pipe)
for fd,event in poller.poll(0.1):
for fd,event in poller.poll(100):
# loop through file numbers and handle events
buff, pipe = fds[fd]
if buff() is None:

0 comments on commit 7643393

Please sign in to comment.