From a13a30b1fa97104021761da99ce8237de09bd026 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Tue, 18 Jan 2022 21:03:14 -0500 Subject: [PATCH] fix: make mempool timeouts longer, since they're not on the p2p critical path --- src/net/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/connection.rs b/src/net/connection.rs index 659d3da56..0ed6a5474 100644 --- a/src/net/connection.rs +++ b/src/net/connection.rs @@ -465,7 +465,7 @@ impl std::default::Default for ConnectionOptions { max_buffered_microblocks: 10, mempool_sync_interval: 30, // number of seconds in-between mempool sync mempool_max_tx_query: MAX_BLOOM_COUNTER_TXS.into(), - mempool_sync_timeout: 60, // how long a mempool sync can go for + mempool_sync_timeout: 120, // how long a mempool sync can go for // no faults on by default disable_neighbor_walk: false,