Skip to content

Commit

Permalink
feat: kill the old max_connections setting
Browse files Browse the repository at this point in the history
which is slightly different than actix_max_connections
  • Loading branch information
pjenvey committed Nov 9, 2023
1 parent ec4846a commit 9e69ff4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions autoconnect/autoconnect-settings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ pub struct Settings {
/// How long to wait for a response Pong before being timed out and connection drop
#[serde(deserialize_with = "deserialize_f64_to_duration")]
pub auto_ping_timeout: Duration,
/// Max number of websocket connections to allow
pub max_connections: u32,
/// How long to wait for the initial connection handshake.
#[serde(deserialize_with = "deserialize_u32_to_duration")]
pub open_handshake_timeout: Duration,
Expand Down Expand Up @@ -116,7 +114,6 @@ impl Default for Settings {
router_hostname: None,
auto_ping_interval: Duration::from_secs(300),
auto_ping_timeout: Duration::from_secs(4),
max_connections: 0,
open_handshake_timeout: Duration::from_secs(5),
close_handshake_timeout: Duration::from_secs(0),
endpoint_scheme: "http".to_owned(),
Expand Down

0 comments on commit 9e69ff4

Please sign in to comment.