commit | 04e7d41cab220ce51fa749fd561b0528bd73f3a9 | [log] [tgz] |
---|---|---|
author | Anthony DiGirolamo <tonymd@google.com> | Tue Aug 22 17:45:34 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 22 17:45:34 2023 +0000 |
tree | 3ea5fe0c612cbcd0fd516c0a0e3a92021ac5dd2c | |
parent | 505f0af7f29ef3350c20625188b6bb6f19b7d374 [diff] |
pw_web: Limit LogViewer redraws to 100ms Only call requestUpdate once every 100ms at most. The old behavior had the log viewer being redrawn after every new log message. This was causing the browser to crash when lots of logs arrived simultaneously. Change-Id: I48afa731044f51d1d8466807039bb2440beaabdb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/167852 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Asad Memon <asadmemon@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.