Skip to content

Commit

Permalink
Revert setting timeout (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 authored and Kbhat1 committed Nov 13, 2024
1 parent af9c640 commit d877ef1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d877ef1

Please sign in to comment.