Optimize server broadcast and message handling for 60fps

This commit is contained in:
srtk 2026-02-13 22:29:06 +05:30
parent fe08e595e9
commit 2135fd599e

View file

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