FarmBot / Farmbot-Web-App

Setup, customize, and control FarmBot from any device
https://my.farm.bot
MIT License
893 stars 330 forks source link

Device log throttling issues and improvements #1559

Open gabrielburnworth opened 4 years ago

gabrielburnworth commented 4 years ago

To reproduce

  1. Enable firmware response logs (firmware_input_log) with a device connected.
  2. Wait a couple minutes. (Observe no throttling.)
  3. Perform an action that creates a normal log near the end of a clock minute. (Observe "throttle begin" notice while logs continue to appear in frontend.)
  4. Perform an action that creates a normal log near the beginning of the next clock minute. (Observe "throttle end" notice.)
  5. Repeat, this time refreshing after step 3. (Observe logs no longer appear in frontend.)
RickCarlino commented 4 years ago

Will investigate item 1. Might be possible to send fatal_email when cooldown ends. The others probably won't get fixed, given current staffing.