Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

early out if no entries in wantlist #539

Merged
merged 1 commit into from
Jan 11, 2015
Merged

early out if no entries in wantlist #539

merged 1 commit into from
Jan 11, 2015

Conversation

whyrusleeping
Copy link
Member

I kept seeing a lot of extra work being done for no reason. This just provides an early out for the bitswap clientWorkers rebroadcast.

@whyrusleeping whyrusleeping added the status/in-progress In progress label Jan 11, 2015
@btc
Copy link
Contributor

btc commented Jan 11, 2015

wanna put the guard before the logging setup? (NB: if guard is before then, the guard's message is printed and that should be sufficient)

@whyrusleeping
Copy link
Member Author

Yeah, good point.

@btc
Copy link
Contributor

btc commented Jan 11, 2015

LGTM

btc pushed a commit that referenced this pull request Jan 11, 2015
early out if no entries in wantlist
@btc btc merged commit 836e5ca into master Jan 11, 2015
@btc btc removed the status/in-progress In progress label Jan 11, 2015
@btc btc deleted the bitswap/tweak branch January 11, 2015 08:51
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants