diff --git a/src/http_server.rs b/src/http_server.rs index 55ad8d365ddf4776ec61b383971bca9edebb09c0..11899a09ad9a62c2ad360ec1b729ac8a24570bac 100644 --- a/src/http_server.rs +++ b/src/http_server.rs @@ -14,7 +14,7 @@ use crate::traft::network::ConnectionPool; use crate::util::Uppercase; use crate::{tlog, unwrap_ok_or}; -const DEFAULT_TIMEOUT: Option<std::time::Duration> = Some(std::time::Duration::from_secs(60)); +const DEFAULT_TIMEOUT: Option<std::time::Duration> = Some(std::time::Duration::from_secs(1)); /// Response from instances: /// - `raft_id`: instance raft_id to find Instance to store data