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