Commit 8615ac2
refactor(heartbeat): remove unreachable else-branch in buildAdapterLivenessLostMessage
The staleThresholdMs <= 0 fallback was dead code — the sole call site
already guards with `if (staleThresholdMs <= 0) continue` before
invoking this function, so staleThresholdMs is always positive.
Addresses Greptile P2 finding on PR paperclipai#4162.
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 1a48c55 commit 8615ac2
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1569 | 1569 | | |
1570 | 1570 | | |
1571 | 1571 | | |
1572 | | - | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
1576 | | - | |
| 1572 | + | |
| 1573 | + | |
1577 | 1574 | | |
1578 | 1575 | | |
1579 | 1576 | | |
| |||
0 commit comments