add: broadcast socket id for user sockets
This commit is contained in:
parent
ecde5d3d46
commit
1724f798ca
6 changed files with 48 additions and 16 deletions
|
@ -52,10 +52,9 @@ async fn main() {
|
|||
let html_path = write_assets(&config).await;
|
||||
|
||||
// governor
|
||||
// (1000/125) * 32 = 256 requests/second
|
||||
let governor_config = Arc::new(
|
||||
GovernorConfigBuilder::default()
|
||||
.per_millisecond(125)
|
||||
.per_millisecond(75)
|
||||
.burst_size(32)
|
||||
.finish()
|
||||
.unwrap(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue