Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Increased snapshot chunk and ping timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
arkpar committed Sep 14, 2016
1 parent 555b3e0 commit 86aeab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sync/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const BODIES_TIMEOUT_SEC: f64 = 5f64;
const RECEIPTS_TIMEOUT_SEC: f64 = 5f64;
const FORK_HEADER_TIMEOUT_SEC: f64 = 3f64;
const SNAPSHOT_MANIFEST_TIMEOUT_SEC: f64 = 3f64;
const SNAPSHOT_DATA_TIMEOUT_SEC: f64 = 10f64;
const SNAPSHOT_DATA_TIMEOUT_SEC: f64 = 60f64;

#[derive(Copy, Clone, Eq, PartialEq, Debug)]
/// Sync state
Expand Down
2 changes: 1 addition & 1 deletion util/network/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use node_table::NodeId;
use stats::NetworkStats;
use time;

const PING_TIMEOUT_SEC: u64 = 30;
const PING_TIMEOUT_SEC: u64 = 65;
const PING_INTERVAL_SEC: u64 = 30;

/// Peer session over encrypted connection.
Expand Down

0 comments on commit 86aeab3

Please sign in to comment.