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

init_pyrebloom will return before select a redis db #21

Open
xkiracn opened this issue Mar 9, 2016 · 2 comments
Open

init_pyrebloom will return before select a redis db #21

xkiracn opened this issue Mar 9, 2016 · 2 comments

Comments

@xkiracn
Copy link

xkiracn commented Mar 9, 2016

Hi
Thanks for your work =) However, I noticed pyrebloom cannot select redis db correctly sometimes.

In bloom.c, init_pyrebloom() will return before select a redis db while it does a success redis authentication.

@dlecocq
Copy link

dlecocq commented Mar 10, 2016

That seems like the intended behavior. Are you getting a client back that has the wrong db selected?

@xkiracn
Copy link
Author

xkiracn commented Mar 11, 2016

Yes, set redis authentication required and select db > 0. In this situation, pyrebloom selects db 0 in fact.

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

No branches or pull requests

2 participants