From eab37120b2cc1020eee337abfb7b329743342e62 Mon Sep 17 00:00:00 2001 From: Yiming Zang <50607998+yzang2019@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:25:07 -0700 Subject: [PATCH] Revert setting timeout (#249) --- node/node.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/node/node.go b/node/node.go index 5d5b6ca9d..d3075434e 100644 --- a/node/node.go +++ b/node/node.go @@ -808,10 +808,7 @@ func loadStateFromDBOrGenesisDocProvider(stateStore sm.Store, genDoc *types.Gene func getRouterConfig(conf *config.Config, appClient abciclient.Client) p2p.RouterOptions { opts := p2p.RouterOptions{ - QueueType: conf.P2P.QueueType, - DialTimeout: conf.P2P.DialTimeout, - HandshakeTimeout: conf.P2P.HandshakeTimeout, - ResolveTimeout: conf.P2P.HandshakeTimeout, + QueueType: conf.P2P.QueueType, } if conf.FilterPeers && appClient != nil {