Skip to content

Return true TTL value in rueidis driver #290

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

Merged
merged 2 commits into from
Jul 16, 2025
Merged

Return true TTL value in rueidis driver #290

merged 2 commits into from
Jul 16, 2025

Conversation

dzbanek717
Copy link
Contributor

Method GetWithTTL from rueidis driver uses CacheTTL() method on rueidis result, which returns client side cache TTL value, which not actually interesting in Redis store scenario.

This PR uses TTL command to retrieve actual TTL value from Redis.

@eko
Copy link
Owner

eko commented Jul 16, 2025

Thank you @dzbanek717

@eko eko merged commit af33a0a into eko:master Jul 16, 2025
10 checks passed
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.

2 participants