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
e5acc1a4
Commit
e5acc1a4
authored
Mar 27, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provide: massively increase provide timeout
15 will _never_ succeed
parent
130a07cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bitswap.go
bitswap.go
+3
-2
No files found.
bitswap.go
View file @
e5acc1a4
...
@@ -46,8 +46,9 @@ const (
...
@@ -46,8 +46,9 @@ const (
maxProvidersPerRequest
=
3
maxProvidersPerRequest
=
3
findProviderDelay
=
1
*
time
.
Second
findProviderDelay
=
1
*
time
.
Second
providerRequestTimeout
=
time
.
Second
*
10
providerRequestTimeout
=
time
.
Second
*
10
provideTimeout
=
time
.
Second
*
15
// these requests take at _least_ two minutes at the moment.
sizeBatchRequestChan
=
32
provideTimeout
=
time
.
Minute
*
3
sizeBatchRequestChan
=
32
)
)
var
(
var
(
...
...
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