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
ef35c2a2
Commit
ef35c2a2
authored
May 16, 2015
by
Jeromy
Committed by
Juan Batiz-Benet
May 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turn rebroadcast back on
parent
2045a7b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
workers.go
workers.go
+3
-5
No files found.
workers.go
View file @
ef35c2a2
...
@@ -42,11 +42,9 @@ func (bs *Bitswap) startWorkers(px process.Process, ctx context.Context) {
...
@@ -42,11 +42,9 @@ func (bs *Bitswap) startWorkers(px process.Process, ctx context.Context) {
}
}
// Start up a worker to manage periodically resending our wantlist out to peers
// Start up a worker to manage periodically resending our wantlist out to peers
/*
px
.
Go
(
func
(
px
process
.
Process
)
{
px.Go(func(px process.Process) {
bs
.
rebroadcastWorker
(
ctx
)
bs.rebroadcastWorker(ctx)
})
})
*/
// Start up a worker to manage sending out provides messages
// Start up a worker to manage sending out provides messages
px
.
Go
(
func
(
px
process
.
Process
)
{
px
.
Go
(
func
(
px
process
.
Process
)
{
...
...
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