idf_monitor: fix the bug that idf_monitor not blocked when no log printed

Inspired by @no1seman, @negativekelvin and @pglen on Github. (In post oder)

Resolves https://github.com/espressif/esp-idf/issues/3884
pull/3947/head
Michael (XIAO Xufeng) 2019-08-16 11:24:57 +08:00
rodzic 76453ccfa5
commit 24f91617d7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -490,7 +490,7 @@ class Monitor(object):
item = self.cmd_queue.get_nowait()
except queue.Empty:
try:
item = self.event_queue.get(False, 0.001)
item = self.event_queue.get(True, 0.03)
except queue.Empty:
continue