1-second polling interval per channel won't scale #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Medium
crates/worker/src/jobs/broadcast_poller.rsusesPOLL_INTERVAL_SECS: u64 = 1. With 100 channels that means 100 DB queries per second.Consider making the interval configurable and/or using a notification-based approach instead of polling.