From 6be14c8c44bab7816da9497971da485bae5c0ec2 Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Wed, 20 Dec 2017 13:00:35 +0300 Subject: [PATCH] Shrink problematic wait --- pylgbst/peripherals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylgbst/peripherals.py b/pylgbst/peripherals.py index abdcb9e..f7a1064 100644 --- a/pylgbst/peripherals.py +++ b/pylgbst/peripherals.py @@ -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.")