Files
inbuxa-server/crates/services
jcoffey-dev ca3abf40f0
ci / fork-checks (pull_request) Successful in 56s
ci / build (pull_request) Successful in 5m14s
Broadcast subscriber: fix the inverted subscribe retry backoff
The broadcast subscriber waited 1 << retry_count.max(6) seconds between
failed subscribe attempts. max(6) turns the cap into a floor: the first
retry waited 64 s instead of 1 s, and each later one doubled without a
bound (and would overflow the shift after enough failures).

The delay now comes from subscribe_retry_delay(), 1 s, 2 s, 4 s ... capped
at 64 s, and the retry counter saturates. A unit test pins the schedule
and the top of the range.
2026-09-24 07:01:56 -07:00
..
2026-09-22 16:57:06 -07:00