Merge branch 'bugfix/fix_console_performance' into 'master'

idf_monitor: Fix the console performance issue

See merge request idf/esp-idf!2547
This commit is contained in:
Angus Gratton 2018-06-14 15:09:20 +08:00
commit 0b16ed644e

View file

@ -333,7 +333,7 @@ class Monitor(object):
self.handle_serial_input(data)
if self._invoke_processing_last_line_timer is not None:
self._invoke_processing_last_line_timer.cancel()
self._invoke_processing_last_line_timer = threading.Timer(1, self.invoke_processing_last_line)
self._invoke_processing_last_line_timer = threading.Timer(0.1, self.invoke_processing_last_line)
self._invoke_processing_last_line_timer.start()
# If no futher data is received in the next short period
# of time then the _invoke_processing_last_line_timer