From e1dfa3e60553e18dcaa92993b69f436dbccf4ae3 Mon Sep 17 00:00:00 2001
From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com>
Date: Fri, 17 May 2024 15:23:51 +0100
Subject: [PATCH] fix merge

---
 p2p/cuprate-p2p/src/constants.rs | 3 +++
 p2p/cuprate-p2p/src/lib.rs       | 1 +
 2 files changed, 4 insertions(+)

diff --git a/p2p/cuprate-p2p/src/constants.rs b/p2p/cuprate-p2p/src/constants.rs
index 58e263fa..1a75b067 100644
--- a/p2p/cuprate-p2p/src/constants.rs
+++ b/p2p/cuprate-p2p/src/constants.rs
@@ -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);
diff --git a/p2p/cuprate-p2p/src/lib.rs b/p2p/cuprate-p2p/src/lib.rs
index 0c53b78f..441ba584 100644
--- a/p2p/cuprate-p2p/src/lib.rs
+++ b/p2p/cuprate-p2p/src/lib.rs
@@ -11,5 +11,6 @@ pub mod client_pool;
 pub mod config;
 pub mod connection_maintainer;
 mod constants;
+mod sync_states;
 
 pub use config::P2PConfig;