Skip to content

Add warning when hiredis not installed. Recommend installation. #1621

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

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

adiamzn
Copy link
Contributor

@adiamzn adiamzn commented Oct 17, 2021

Description of change

Adds warning when hiredis parser not available. Recommends installing it.

Why the change?

redispy works best with the hiredis parser.
Currently, if an out-of-date hiredis parser is installed a warning is given (the warning recommends upgrading the hiredis parser)
Surprisingly, when no version of the hiredis parser is available, redispy silently defaults to a native python parser with much poorer performance.

Instead of silently defaulting to a native python parser, this change warns the potentially unaware user and recommends installing the hiredis parser.

@nbraun-amazon
Copy link
Contributor

LGTM

@chayim chayim added the bug Bug label Oct 19, 2021
@chayim chayim merged commit 16cfcc7 into redis:master Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants