Extreme throughput server optimizations
This commit is contained in:
parent
2135fd599e
commit
05faba5d43
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue