From eeee80454e6cf7de360dbfb4835e8ad1cd2ae5e3 Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Mon, 2 Oct 2023 11:02:32 +1300 Subject: [PATCH] fix --- benches/bench/main.rs | 2 +- src/integration_tests/merge_subscription.rs | 2 +- src/server.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benches/bench/main.rs b/benches/bench/main.rs index 60d15c3..ceaff00 100644 --- a/benches/bench/main.rs +++ b/benches/bench/main.rs @@ -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() }, diff --git a/src/integration_tests/merge_subscription.rs b/src/integration_tests/merge_subscription.rs index 4d27c71..3ab1a02 100644 --- a/src/integration_tests/merge_subscription.rs +++ b/src/integration_tests/merge_subscription.rs @@ -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), diff --git a/src/server.rs b/src/server.rs index 9b9dd37..1c16753 100644 --- a/src/server.rs +++ b/src/server.rs @@ -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() },