mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 07:06:20 +00:00
Log the deferred connections-free resend at verbose
Log lines ride the same API connection; a debug line at the exact moment the TCP buffer is full adds traffic when it can least afford it (the api layer's own buffer-full log is verbose for the same reason).
This commit is contained in:
@@ -635,7 +635,9 @@ void BluetoothProxy::send_connections_free() {
|
||||
|
||||
void BluetoothProxy::send_connections_free(api::APIConnection *api_connection) {
|
||||
if (!api_connection->send_message(this->connections_free_response_)) {
|
||||
ESP_LOGD(TAG, "Connections-free update deferred, TCP buffer full");
|
||||
// V like the api layer's own buffer-full log: a D would ride the same
|
||||
// full connection.
|
||||
ESP_LOGV(TAG, "Connections-free update deferred, TCP buffer full");
|
||||
this->connections_free_pending_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user