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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use redis.asyncio instead of aioredis #1206

Merged
merged 1 commit into from May 13, 2023

Conversation

dranikpg
Copy link
Contributor

aioredis is deprecated and recommends to transition to redis-py. New modules like redis search are supported only there

Fixes #1190

There is also some kind of new issue with cluster client disconnects on redis-py 5.4 馃樀 For some reason it's still counted as alive even when the connection pool is closed, so I had to disable connection checks with cluster clients

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
@dranikpg dranikpg requested a review from romange May 12, 2023 20:11
@dranikpg dranikpg merged commit b053741 into dragonflydb:main May 13, 2023
6 checks passed
@dranikpg dranikpg deleted the remove-aioredis branch May 13, 2023 13:03
romange pushed a commit that referenced this pull request Jun 1, 2023
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
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.

Switch from aioredis to async redis-py in regression tests
2 participants