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

Allow configuration of cache lock TTL #2597

Closed
wants to merge 3 commits into from
Closed

Allow configuration of cache lock TTL #2597

wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Jun 7, 2023

RedisCacheWriter now can now issue locks that expire using TtlFunction to prevent eternal locks.

Closes #2300

mp911de added 3 commits June 7, 2023 10:33
RedisCacheWriter now can now issue locks that expire using TtlFunction to prevent eternal locks.
@mp911de mp911de added in: cache RedisCache and CacheManager type: enhancement A general enhancement labels Jun 7, 2023
@mp911de mp911de requested a review from jxblum June 7, 2023 09:25
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jun 8, 2023
@jxblum jxblum closed this Jun 8, 2023
@jxblum jxblum added this to the 3.2 M1 (2023.1.0) milestone Jun 8, 2023
@mp911de mp911de deleted the issue/2300 branch June 8, 2023 06:36
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jun 8, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jun 12, 2023
RedisCacheWriter now can now issue locks that expire using TtlFunction to prevent eternal locks.

Closes spring-projects#2300
Pull request: spring-projects#2597
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jun 12, 2023
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 6, 2023
christophstrobl pushed a commit that referenced this pull request Jul 11, 2023
Reintroduce and deprecate RedisCacheConfiguration.getTtl for backwards compatibility.

Closes #2628
Original Pull Request: #2597
christophstrobl added a commit that referenced this pull request Jul 11, 2023
Stick to TtlFunction & nullability contracts.
Update deprecation with since tag.

Original Pull Request: #2597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: cache RedisCache and CacheManager type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Lock TTL configuration using DefaultRedisCacheWriter
2 participants