Files
mesh-tools/node-tools/internal
jschoubben 537e44eff6 Tool runner bus: long-lived loops read their settings once, as they start
A hearing's loops, SeatTake's heartbeat and followGrants' retry loop outlive the
call that started them and read the package's settings on every turn; a test
that sets a setting back as it ends then raced the loop (the race detector:
streams_test.go:232's cleanup write of RebindEvery against the rebind loop's
read, in TestAConsumerNamedBeforeItExistsIsBoundOnceItDoes at -count=30). Each
loop now takes RebindEvery, NakDelay, EventHeartbeat, WorkHeartbeat,
GrantsRetry, GrantsRetryMost, GrantsPatience and StateTimeout once, as consumes
already took IdleHeartbeat and its tick hook.

Builds: design 47 H H-A-363 (fix-a-bug-met-twice: a goroutine outliving its settings)
2026-11-21 23:40:18 +01:00
..