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 Oct 28, 2024
1 parent 3ee0e7f commit eab3712
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 eab3712

Please sign in to comment.