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

UpdateAsync() doesnt provide Inputs for the lifetime cache #430

Closed
y-2-j opened this issue Jan 16, 2024 · 4 comments · Fixed by #472
Closed

UpdateAsync() doesnt provide Inputs for the lifetime cache #430

y-2-j opened this issue Jan 16, 2024 · 4 comments · Fixed by #472

Comments

@y-2-j
Copy link

y-2-j commented Jan 16, 2024

Are there any plans to have this option available soon so that we can start using this for setting up custom lifetime while calling update async()

@GraySerg
Copy link

I agree, it is not enough to install ttl when updating entity in cache

@granit1986
Copy link

I support. Can you fix this?

@granit1986
Copy link

@slorello89 Working incorrect

ERR value is not an integer or out of range
Failed on PEXPIRE EventData:12261312 7022807438,9542

@slorello89
Copy link
Member

hmm @granit1986 - that's quite odd - PEXPIRE doesn't support fractional milliseconds (not to mention if we did there would be a cultural invariance issue in how they are being parsed in Redis OM). What TimeSpan are you using here, it looks like it might be to blame (though we should be correctly rounding off milliseconds here).

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 a pull request may close this issue.

4 participants