Functions
build_health_response
2
tuple[int, list[tuple[by…
▼
Build a health check response.
build_health_response
2
tuple[int, list[tuple[by…
▼
def build_health_response(*, worker_id: int, active_connections: int) -> tuple[int, list[tuple[bytes, bytes]], bytes]
Parameters
| Name | Type | Description |
|---|---|---|
worker_id |
int |
|
active_connections |
int |
Returns
tuple[int, list[tuple[bytes, bytes]], bytes]