Skip to content

Commit

Permalink
lib: disable flush interval by default
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini committed Aug 1, 2023
1 parent 1ba93b8 commit 4d4c294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-nats/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl Default for ConnectOptions {
client_cert: None,
client_key: None,
tls_client_config: None,
flush_interval: Duration::from_millis(1),
flush_interval: Duration::ZERO,
ping_interval: Duration::from_secs(60),
sender_capacity: 128,
subscription_capacity: 4096,
Expand Down

0 comments on commit 4d4c294

Please sign in to comment.