Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Avital-Fine
Copy link
Contributor

@Avital-Fine Avital-Fine commented Apr 12, 2022

Since the method returns TimeSpan and not a number like the redis server (similar to OBJECT IDLETIME), PEXPIRETIME has no difference from EXPIRETIME.

https://redis.io/commands/expiretime/
https://redis.io/commands/pexpiretime/

#2055

@Avital-Fine Avital-Fine marked this pull request as draft April 12, 2022 13:36
@Avital-Fine Avital-Fine marked this pull request as ready for review April 13, 2022 10:31
@Avital-Fine Avital-Fine requested a review from NickCraver April 13, 2022 10:31
@Avital-Fine Avital-Fine changed the title Support EXPIRETIME Support EXPIRETIME and PEXPIRETIME Apr 13, 2022
Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to grok the TTL bits and intent but tried to add initial thoughts on everything - this being an overload change is a bit more to consider!

@Avital-Fine Avital-Fine requested a review from NickCraver April 14, 2022 10:03
@NickCraver
Copy link
Collaborator

@Avital-Fine need a break for staring at this and a few doc tweaks, but think it's close with DateTime? as the "expected in .NET"-ism for the client here. I'll try and get back to PRs this afternoon (not the day job!)

Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slorello89 I think this is good but I've also been staring at and tweaking it a while, would appreciate an external set of eyes when time allows <3

Copy link
Collaborator

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@NickCraver NickCraver merged commit bcc647b into StackExchange:main Apr 16, 2022
@slorello89 slorello89 mentioned this pull request Apr 27, 2022
NickCraver pushed a commit that referenced this pull request May 10, 2022
Continue #2083 
Now when we can overload function - we can do it also to `KeyExpire` and `KeyExpireAsync`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants