File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ var defaults = func(o *config) error {
117117 o .maxRecordAge = time .Hour * 36
118118
119119 o .bucketSize = defaultBucketSize
120- o .concurrency = 3
120+ o .concurrency = 10
121121 o .resiliency = 3
122122
123123 o .v1CompatibleMode = true
@@ -281,7 +281,7 @@ func BucketSize(bucketSize int) Option {
281281
282282// Concurrency configures the number of concurrent requests (alpha in the Kademlia paper) for a given query path.
283283//
284- // The default value is 3 .
284+ // The default value is 10 .
285285func Concurrency (alpha int ) Option {
286286 return func (c * config ) error {
287287 c .concurrency = alpha
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
2424 "github.com/stretchr/testify/assert"
2525 "github.com/stretchr/testify/require"
2626
27- pb "github.com/libp2p/go-libp2p-kad-dht/pb"
2827 test "github.com/libp2p/go-libp2p-kad-dht/internal/testing"
28+ pb "github.com/libp2p/go-libp2p-kad-dht/pb"
2929
3030 "github.com/ipfs/go-cid"
3131 u "github.com/ipfs/go-ipfs-util"
You can’t perform that action at this time.
0 commit comments