Little speed adjustment for the background service.

Sun, 03 Sep 2017 19:08:22 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 03 Sep 2017 19:08:22 +0200
changeset 5874
a28f7d2ff976
parent 5873
331a5ece2c32
child 5875
3052fb9cf357

Little speed adjustment for the background service.

Utilities/BackgroundService.py file | annotate | diff | comparison | revisions
--- a/Utilities/BackgroundService.py	Sun Sep 03 18:37:52 2017 +0200
+++ b/Utilities/BackgroundService.py	Sun Sep 03 19:08:22 2017 +0200
@@ -161,7 +161,8 @@
             
             packedData = b''
             while len(packedData) < length:
-                connection.waitForReadyRead(50)
+                # this wait influences speed in batch mode (smaller is faster)
+                connection.waitForReadyRead(5)
                 packedData += connection.read(length - len(packedData))
 
             assert adler32(packedData) & 0xffffffff == datahash, \

eric ide

mercurial