1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00

Shrink problematic wait

This commit is contained in:
Andrey Pohilko 2017-12-20 13:00:35 +03:00
parent 39003f0728
commit 6be14c8c44

View File

@ -101,7 +101,7 @@ class Peripheral(object):
if not async:
log.debug("Waiting for sync command work to finish...")
while self.in_progress():
time.sleep(0.5)
time.sleep(0.001)
log.debug("Command has finished.")