Utilities/BackgroundService.py

changeset 5874
a28f7d2ff976
parent 5762
76ef5f340007
child 5875
3052fb9cf357
diff -r 331a5ece2c32 -r a28f7d2ff976 Utilities/BackgroundService.py
--- 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