Files
firmware/src
Dmitry Dubinin 29f4d99bf6 Add Adaptive Polling Intervals to WebServer (#7864)
* feat: add adaptive polling intervals to WebServer

Replace fixed 5ms polling with adaptive intervals based on HTTP activity:
- 50ms during active periods (first 5 seconds after request)
- 200ms during medium activity (5-30 seconds)
- 1000ms during idle periods (30+ seconds)

Reduces CPU usage significantly during idle periods while maintaining
responsiveness when handling HTTP requests.

* Fix integer overflow and magic numbers in WebServer

- Handle millis() overflow in getAdaptiveInterval()
- Replace magic numbers with named constants
- Improve code readability and maintainability
2025-10-06 05:52:40 -05:00
..
2025-10-01 13:32:44 -05:00
2025-10-01 13:32:44 -05:00
2025-10-04 16:54:19 -05:00
2025-10-05 17:03:52 +02:00
2025-09-04 06:24:04 -05:00
2025-10-04 16:54:19 -05:00
2023-07-14 16:25:20 -05:00
2025-07-02 20:50:49 -05:00
2025-09-19 06:29:18 -05:00
2024-11-04 06:09:23 -06:00
2024-08-06 12:35:54 -05:00
2024-08-06 12:35:54 -05:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2025-10-01 13:32:44 -05:00
2024-08-06 12:35:54 -05:00
2025-03-16 08:19:46 -05:00
2025-03-01 06:18:33 -06:00
2023-01-21 21:23:24 +01:00
2025-03-01 06:18:33 -06:00