mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 00:58:40 +00:00
24 lines
454 B
YAML
24 lines
454 B
YAML
esphome:
|
|
name: api-backpressure-test
|
|
|
|
host:
|
|
|
|
api:
|
|
# Smallest queue so a non-draining client blocks the send path quickly
|
|
max_send_queue: 1
|
|
actions:
|
|
# GENERATED_ACTIONS
|
|
|
|
external_components:
|
|
- source:
|
|
type: local
|
|
path: EXTERNAL_COMPONENT_PATH
|
|
components: [sndbuf_pin_component]
|
|
|
|
# Pins the device's socket send buffers for deterministic TCP backpressure
|
|
sndbuf_pin_component:
|
|
buffer_size: SERVER_SNDBUF
|
|
|
|
logger:
|
|
level: DEBUG
|