Skip to content

Commit

Permalink
Add footgun to dictionary and resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
glueball authored and Jarema committed Jan 3, 2024
1 parent 84f3f5a commit bce154f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .config/nats.dic
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,4 @@ ObjectMetadata
S2
inactive_threshold
max_ack_pending
footgun
5 changes: 0 additions & 5 deletions async-nats/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@ impl ConnectOptions {
ConnectOptions::default()
}

pub fn max_reconnects(mut self, max_reconnects: usize) -> ConnectOptions {
self.max_reconnects = Some(max_reconnects);
self
}

/// Connect to the NATS Server leveraging all passed options.
///
/// # Examples
Expand Down

0 comments on commit bce154f

Please sign in to comment.