Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: use 300s as default upload-pack timeout
✗ CI failure Gaoyang Zhang committed 1 year ago
commit 6c589425b910e9b260bce62ffa5a5307ec531fb1
parent 034eb418600f01ffc27b84ad399372410d49cd13
1 failed (1 total) View logs
1 file changed +2 -2
modified radicle-node/src/service.rs
@@ -101,8 +101,8 @@ pub const MIN_RECONNECTION_DELTA: LocalDuration = LocalDuration::from_secs(3);
pub const MAX_RECONNECTION_DELTA: LocalDuration = LocalDuration::from_mins(60);
/// Connection retry delta used for ephemeral peers that failed to connect previously.
pub const CONNECTION_RETRY_DELTA: LocalDuration = LocalDuration::from_mins(10);
-
/// How long to wait for a fetch to stall before aborting, default is 3s.
-
pub const FETCH_TIMEOUT: time::Duration = time::Duration::from_secs(3);
+
/// How long to wait for a fetch to stall before aborting, default is 300s.
+
pub const FETCH_TIMEOUT: time::Duration = time::Duration::from_secs(300);
/// Target number of peers to maintain connections to.
pub const TARGET_OUTBOUND_PEERS: usize = 8;