diff options
Diffstat (limited to 'src/proto.rs')
-rw-r--r-- | src/proto.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto.rs b/src/proto.rs index b39f49ed..7d8d3899 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -4,7 +4,8 @@ use std::time::Duration; use crate::data::*; -pub const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30); +pub const DEFAULT_TIMEOUT: Duration = Duration::from_secs(10); +pub const BLOCK_RW_TIMEOUT: Duration = Duration::from_secs(42); #[derive(Debug, Serialize, Deserialize)] pub enum Message { |