mirror of
https://github.com/block/buzz.git
synced 2026-11-24 10:12:19 +00:00
Retire released keys in a 30 s sweep that takes only those released at least the delay ago, so a key released just before the sweep keeps its coverage while the subscription still narrows at most once per delay. Retiring a key also bumps its revision, so a read started in its previous lifetime can't fill it in once it is shown again. Signed-off-by: Tom Brow <tomb@squareup.com>