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

ClientName optional config, and do not auto-set it #23

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

klaidliadon
Copy link
Contributor

@klaidliadon klaidliadon commented Oct 29, 2024

GCP MemoryStore does not allow client setname and redis client tries to set the name when the value in the options is not empty.

The conditional settings of the value should allow avoiding the forbidden operation.

config.go Outdated Show resolved Hide resolved
@pkieltyka pkieltyka merged commit de6d0f4 into go-chi:master Oct 29, 2024
1 check passed
@pkieltyka pkieltyka changed the title Add Backend to configuration ClientName optional config, and do not auto-set it Oct 29, 2024
@VojtechVitek
Copy link
Contributor

Interesting. Thanks for the fix!

Linking upstream issue: redis/go-redis#2537

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