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

fix: optimize handling for peers with lots of tasks #537

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Oct 26, 2021

This should fix a CPU hotspot when peers request tons of tiny blocks.

Depends on ipfs/go-peertaskqueue#19

@whyrusleeping
Copy link
Member

(pushed a rebase)

This should fix a CPU hotspot when peers request tons of tiny blocks.
@Stebalien
Copy link
Member Author

@whyrusleeping has tested this and it appears to help (so far).

@Stebalien Stebalien merged commit 5aa76cb into master Oct 28, 2021
@Stebalien Stebalien deleted the feat/optimize-has-new-info branch October 28, 2021 03:19
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
Jorropo pushed a commit to Jorropo/go-libipfs that referenced this pull request Jan 26, 2023
…w-info

fix: optimize handling for peers with lots of tasks

This commit was moved from ipfs/go-bitswap@5aa76cb
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

3 participants