mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
perf(net): increase default concurrent outbound dials to 30 (#22744)
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
5
.changelog/dry-koalas-wink.md
Normal file
5
.changelog/dry-koalas-wink.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
reth-network-types: patch
|
||||
---
|
||||
|
||||
Increased default maximum concurrent outbound dials from 15 to 30.
|
||||
@@ -22,7 +22,7 @@ pub const DEFAULT_MAX_COUNT_PEERS_INBOUND: u32 = 30;
|
||||
/// Maximum number of available slots for concurrent outgoing dials.
|
||||
///
|
||||
/// This restricts how many outbound dials can be performed concurrently.
|
||||
pub const DEFAULT_MAX_COUNT_CONCURRENT_OUTBOUND_DIALS: usize = 15;
|
||||
pub const DEFAULT_MAX_COUNT_CONCURRENT_OUTBOUND_DIALS: usize = 30;
|
||||
|
||||
/// A temporary timeout for ips on incoming connection attempts.
|
||||
pub const INBOUND_IP_THROTTLE_DURATION: Duration = Duration::from_secs(30);
|
||||
|
||||
Reference in New Issue
Block a user