[Pkg-bitcoin-commits] [python-quamash] 60/269: Fix poll timing

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository python-quamash.

commit bed28769606a272d762be16ec565b77aaab118e1
Author: Arve Knudsen <arve.knudsen at gmail.com>
Date:   Sat Jul 5 21:25:09 2014 +0200

    Fix poll timing
---
 quamash/_windows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quamash/_windows.py b/quamash/_windows.py
index 2446b83..fcd9080 100644
--- a/quamash/_windows.py
+++ b/quamash/_windows.py
@@ -120,7 +120,7 @@ class _EventWorker(QtCore.QThread):
 		self.__semaphore.release()
 
 		while not self.__stop:
-			events = self.__selector.select(0.1)
+			events = self.__selector.select(0.01)
 			if events:
 				self._logger.debug('Got events from poll: {}'.format(events))
 				self.__sig_events.emit(events)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git



More information about the Pkg-bitcoin-commits mailing list