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

Increase channel buffer size in blockstore.AllKeysChan(). #2961

Merged
merged 1 commit into from
Jul 10, 2016

Conversation

kevina
Copy link
Contributor

@kevina kevina commented Jul 10, 2016

In order for AllKeysChan to really benefit from the larger buffer size for key only queries in the datastore it should increase it own channel buffer to the same size as the key only queries channel buffer.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
@kevina
Copy link
Contributor Author

kevina commented Jul 10, 2016

@Kubuxu this should help to speed up the initial Bloom filter creation time as you use this method.

@Kubuxu
Copy link
Member

Kubuxu commented Jul 10, 2016

Thanks, if tests pass, LGTM.

@whyrusleeping whyrusleeping merged commit 94e35db into master Jul 10, 2016
@whyrusleeping whyrusleeping deleted the kevina/AllKeysChan-buf-size branch July 10, 2016 20:21
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.

3 participants