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

Fix: Redis client name is lost after reconnection #173

Merged
merged 4 commits into from
Jul 14, 2022

Conversation

psrok1
Copy link
Member

@psrok1 psrok1 commented Jul 13, 2022

Identity is set via constructor, so it should be passed to KartonBackend and set as client_name argument in StrictRedis object.

Closes #169

@psrok1 psrok1 requested a review from nazywam July 13, 2022 12:14
karton/core/backend.py Outdated Show resolved Hide resolved
karton/core/backend.py Outdated Show resolved Hide resolved
psrok1 and others added 3 commits July 14, 2022 12:05
Co-authored-by: Michał Praszmo <michalpr@cert.pl>
Co-authored-by: Michał Praszmo <michalpr@cert.pl>
@psrok1
Copy link
Member Author

psrok1 commented Jul 14, 2022

Types-redis seem to be much worse than internal redis-py typings.

@psrok1 psrok1 merged commit 6acee92 into master Jul 14, 2022
@psrok1 psrok1 deleted the fix/persistent-client-name branch July 14, 2022 12:38
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.

Redis client name is lost after reconnection
2 participants