mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 09:12:19 +01:00
preen
This commit is contained in:
@@ -33,6 +33,8 @@ namespace api {
|
|||||||
// Since each message could contain multiple protobuf messages when using packet batching,
|
// Since each message could contain multiple protobuf messages when using packet batching,
|
||||||
// this limits the number of messages processed, not the number of TCP packets.
|
// this limits the number of messages processed, not the number of TCP packets.
|
||||||
static constexpr uint8_t MAX_MESSAGES_PER_LOOP = 5;
|
static constexpr uint8_t MAX_MESSAGES_PER_LOOP = 5;
|
||||||
|
static constexpr uint8_t MAX_PING_RETRIES = 60;
|
||||||
|
static constexpr uint16_t PING_RETRY_INTERVAL = 1000;
|
||||||
|
|
||||||
static const char *const TAG = "api.connection";
|
static const char *const TAG = "api.connection";
|
||||||
static const int ESP32_CAMERA_STOP_STREAM = 5000;
|
static const int ESP32_CAMERA_STOP_STREAM = 5000;
|
||||||
|
Reference in New Issue
Block a user