Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
59f2f2fe
Commit
59f2f2fe
authored
Mar 19, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #944 from jbenet/dht-bootstrap-tone-down
dht: tone down dht bootstrap
parents
415aa2c6
60b18d3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
routing/dht/dht_bootstrap.go
routing/dht/dht_bootstrap.go
+4
-5
No files found.
routing/dht/dht_bootstrap.go
View file @
59f2f2fe
...
...
@@ -35,13 +35,12 @@ var DefaultBootstrapConfig = BootstrapConfig{
// of our implementation's robustness, we should lower this down to 8 or 4.
Queries
:
1
,
// For now, this is set to 1
0 seconds
, which is a
n aggressive
period. We are
// For now, this is set to 1
minute
, which is a
medium
period. We are
// We are currently more interested in ensuring we have a properly formed
// DHT than making sure our dht minimizes traffic. Once we are more certain
// implementation's robustness, we should lower this down to 30s or 1m.
Period
:
time
.
Duration
(
20
*
time
.
Second
),
// DHT than making sure our dht minimizes traffic.
Period
:
time
.
Duration
(
5
*
time
.
Minute
),
Timeout
:
time
.
Duration
(
2
0
*
time
.
Second
),
Timeout
:
time
.
Duration
(
1
0
*
time
.
Second
),
}
// Bootstrap ensures the dht routing table remains healthy as peers come and go.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment