Skip to content

Commit

Permalink
chore!: Remove unused Config::max_msg_size_allowed
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `Config::max_msg_size_allowed` has been removed.
  • Loading branch information
Chris Connelly authored and connec committed Aug 27, 2021
1 parent 8cf4f88 commit 44d750f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ pub struct Config {
/// using the Echo service.
#[structopt(long)]
pub external_ip: Option<IpAddr>,
/// This is the maximum message size we'll allow the peer to send to us. Any bigger message and
/// we'll error out probably shutting down the connection to the peer. If none supplied we'll
/// default to the documented constant.
#[structopt(long)]
pub max_msg_size_allowed: Option<u32>,
/// If we hear nothing from the peer in the given interval we declare it offline to us. If none
/// supplied we'll default to the documented constant.
///
Expand Down

0 comments on commit 44d750f

Please sign in to comment.