Skip to content

Commit

Permalink
swarm: enable smart dialing by default (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt authored Jul 10, 2023
1 parent 732953d commit b386525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (cfg *Config) makeSwarm(eventBus event.Bus, enableMetrics bool) (*swarm.Swa

dialRanker := cfg.DialRanker
if dialRanker == nil {
dialRanker = swarm.NoDelayDialRanker
dialRanker = swarm.DefaultDialRanker
}
opts = append(opts, swarm.WithDialRanker(dialRanker))

Expand Down

0 comments on commit b386525

Please sign in to comment.