You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b14ef9b
Browse filesBrowse the repository at this point in the historyBrowse files
perf(relay): elect single scheduled-send leader with horizon sleep and pubsub wake
replace fixed 1s fleet-wide polling in scheduled_release::run with postgres sessionleader election (scheduled_release_lock_key), single-seek horizon sleep via db::next_schedule_wake_at capped at 60s, and fire-and-forget local plus redis pub/sub wake nudges (buzz:scheduled-send:wake) on near-term schedule accepts and relay cancellations (ban, channel deletion, nip-fi disconnect). standby pods poll only the session advisory lock every 12-15s and touch zero scheduled_sends rows, while transactional cas remains the duplicate-proof floor. also route admittedtx::try_admit through deletionstore::guard_transaction_classified so buzz-db observability_source passes all 46 gates, and add unit plus postgres integration tests.
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
0 commit comments