mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-02-02 03:06:36 +00:00
fix merge
This commit is contained in:
parent
065fa242d8
commit
e1dfa3e605
2 changed files with 4 additions and 0 deletions
|
@ -8,3 +8,6 @@ pub(crate) const MAX_SEED_CONNECTIONS: usize = 3;
|
|||
|
||||
/// The timeout for when we fail to find a peer to connect to.
|
||||
pub(crate) const OUTBOUND_CONNECTION_ATTEMPT_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
|
||||
/// The durations of a short ban.
|
||||
pub(crate) const SHORT_BAN: Duration = Duration::from_secs(60 * 10);
|
||||
|
|
|
@ -11,5 +11,6 @@ pub mod client_pool;
|
|||
pub mod config;
|
||||
pub mod connection_maintainer;
|
||||
mod constants;
|
||||
mod sync_states;
|
||||
|
||||
pub use config::P2PConfig;
|
||||
|
|
Loading…
Reference in a new issue