# fix\(client\): data still arriving keeps a slow health check alive · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/cf5163078bca7c973ddd01882868382462ab364f)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: cf5163078bca7c973ddd01882868382462ab364f

Requested commit: cf5163078bca7c973ddd01882868382462ab364f

Commit: cf5163078bca7c973ddd01882868382462ab364f

Tree: f77fc80f7f22faed3eaefde455ce1974d6539fff

Author: Codex

Committer: Theo Browne

## Message

```
fix(client): data still arriving keeps a slow health check alive

A health check on a slow link timed out after the quick 6s window even
while pongs and stream data were still arriving, dropping a working
connection. Count socket reads in the RPC session, and when the probe
window expires with new data received, wait another window, capped at
the full 15s probe timeout.

```

## Parents

- [6478d22c84bf39cc86c9073844bbc04f74376e87](https://git.cafe/pingdotgg/t3code/commit/6478d22c84bf39cc86c9073844bbc04f74376e87?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/cf5163078bca7c973ddd01882868382462ab364f?format=markdown)
