Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Oct 1, 2023
1 parent 07e4e95 commit eeee804
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benches/bench/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ fn config() -> Config {
listen_address: SUBWAY_SERVER_ADDR.to_string(),
port: SUBWAY_SERVER_PORT,
max_connections: 1024 * 1024,
health: None,
http_methods: Vec::new(),
}),
..Default::default()
},
Expand Down
2 changes: 1 addition & 1 deletion src/integration_tests/merge_subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async fn merge_subscription_works() {
listen_address: "0.0.0.0".to_string(),
port: 0,
max_connections: 10,
health: None,
http_methods: Vec::new(),
}),
merge_subscription: Some(MergeSubscriptionConfig {
keep_alive_seconds: Some(1),
Expand Down
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ mod tests {
listen_address: "127.0.0.1".to_string(),
port: 9944,
max_connections: 1024,
health: None,
http_methods: Vec::new(),
}),
..Default::default()
},
Expand Down

0 comments on commit eeee804

Please sign in to comment.