mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
4d2354da2ecab2210fadf214b18e5d171ada1447
set_retry internally does a std::make_shared<RetryArgs>() heap allocation on every invocation. Replace with set_interval + countdown counter which avoids this entirely. The original code used fixed-interval polling (no backoff), making set_interval a direct fit.
Description
Languages
C++
64.3%
Python
35.4%
C
0.2%
