pi-mono/packages/chord/test/node/workers
Armin Ronacher 9f7d909f8b fix(chord): recover worker links after a sleep or a lost link
The heartbeat no longer counts time the process did not run (a laptop's sleep, a blocked event loop) as silence: after such a pause each open link pings at once and closes only if its peer stays silent for close - ping.

A running worker's lost link is now a stop instead of a failure: worker_link_lost is reported and the held route starts a new worker. A second lost link within a minute of the last recovery still fails the address.
2026-11-03 18:15:53 +01:00
..
control.test.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
lock.test.ts fix(chord): clear stale worker lock files on macOS and the BSDs 2026-11-03 17:48:14 +01:00
main.test.ts fix(chord): clear stale worker lock files on macOS and the BSDs 2026-11-03 17:48:14 +01:00
process.test.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
support.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
workers.test.ts fix(chord): recover worker links after a sleep or a lost link 2026-11-03 18:15:53 +01:00