zcache
zcache copied to clipboard
ModifySetWithExpire?
To fully solve our TOTP validation rate limiting use case in OpenBao (as initially referenced by @cipherboy in https://github.com/arp242/zcache/issues/6#issue-3294824006), we'd need to specify a custom expiration time in ModifySet. I think ModifySetWithExpire would be in line with existing APIs such as GetOrAddWithExpire.
Let me know if I've overlooked something, happy to contribute this otherwise :)
Sure, sounds good.