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-bitswap
Commits
130a07cb
Commit
130a07cb
authored
Mar 04, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce provide workers to 6
This'll back up the queue but take a large load off the DHT.
parent
98550f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bitswap.go
bitswap.go
+1
-1
No files found.
bitswap.go
View file @
130a07cb
...
...
@@ -53,7 +53,7 @@ const (
var
(
HasBlockBufferSize
=
256
provideKeysBufferSize
=
2048
provideWorkerMax
=
512
provideWorkerMax
=
6
// the 1<<18+15 is to observe old file chunks that are 1<<18 + 14 in size
metricsBuckets
=
[]
float64
{
1
<<
6
,
1
<<
10
,
1
<<
14
,
1
<<
18
,
1
<<
18
+
15
,
1
<<
22
}
...
...
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