diff options
Diffstat (limited to 'pysnmp/carrier/asyncore/dispatch.py')
-rw-r--r-- | pysnmp/carrier/asyncore/dispatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/carrier/asyncore/dispatch.py b/pysnmp/carrier/asyncore/dispatch.py index bc72df91..c271387b 100644 --- a/pysnmp/carrier/asyncore/dispatch.py +++ b/pysnmp/carrier/asyncore/dispatch.py @@ -42,7 +42,7 @@ class AsyncoreDispatcher(AbstractTransportDispatcher): def runDispatcher(self, timeout=0.0): while self.jobsArePending() or self.transportsAreWorking(): try: - loop(timeout and timeout or self.timeout, + loop(timeout or self.getTimerResolution(), use_poll=True, map=self.__sockMap, count=1) except KeyboardInterrupt: raise |