-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use SET command instead of SETEX #2897
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Apr 21, 2024
Good catch. Do you want to submit a pull request? |
mp911de
added
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Apr 23, 2024
Sure. I will do it soon. |
ehsanalemzadeh
added a commit
to ehsanalemzadeh/spring-data-redis
that referenced
this issue
Apr 24, 2024
Replace usage of deprecated commands setEx, pSetEx and setNX in DefaultValueOperations by set command with additional SetOption arguments Closes #spring-projects#2897
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
In DefaultValueOperations, the set method with timeout argument calls the setEx command internally. However, SETEX command was deprecated in version 2.6.12 of Redis. According to Redis documentation, it is recommended to replace SETEX with SET using the EX argument. Redis documentation
The text was updated successfully, but these errors were encountered: