1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Fix API connection sending ping too early after connection establishment (#8840)

This commit is contained in:
J. Nick Koston
2025-05-18 23:22:36 -04:00
committed by GitHub
parent d36ce7c010
commit 5b552b9ec5
2 changed files with 10 additions and 4 deletions

View File

@@ -15,6 +15,9 @@
namespace esphome {
namespace api {
// Keepalive timeout in milliseconds
static constexpr uint32_t KEEPALIVE_TIMEOUT_MS = 60000;
using send_message_t = bool (APIConnection::*)(void *);
/*