Extreme throughput server optimizations

This commit is contained in:
srtk 2026-02-13 22:53:22 +05:30
parent 2135fd599e
commit 05faba5d43

View file

@ -46,7 +46,7 @@ impl AppState {
impl Room { impl Room {
pub fn new(id: String) -> Self { pub fn new(id: String) -> Self {
let (tx, _) = broadcast::channel(1024); let (tx, _) = broadcast::channel(4096);
Self { Self {
id, id,
peers: DashMap::new(), peers: DashMap::new(),