Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

refactor: remove WantManager #374

Merged
merged 4 commits into from Apr 23, 2020
Merged

refactor: remove WantManager #374

merged 4 commits into from Apr 23, 2020

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Apr 23, 2020

No description provided.

}
}

return sessions
// Send CANCEL to all peers with want-have / want-block
sm.peerManager.SendCancels(ctx, blks)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: I think we might want to do this first, but I'm not sure. Let's not move it yet but remember to revisit this.

Copy link
Contributor Author

@dirkmc dirkmc Apr 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I think we can probably even do this in parallel to commiting the block to the blockstore

@Stebalien Stebalien merged commit 5643004 into master Apr 23, 2020
Jorropo pushed a commit to Jorropo/go-libipfs that referenced this pull request Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants