What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.
HPERSIST
Remove the existing expiration on a hash key's field(s).
Usage
HPERSIST key FIELDS fields
Complexity
O(N) where N is the number of specified fields.
Since
9.0.0
ACL Categories
@fast, @hash, @write
Command flags
WRITE, FAST
The HPERSIST remove the existing expiration on a hash key's field(s), turning the field(s) from volatile (a field with expiration set)
to persistent (a field that will never expire as no TTL (time to live) is associated).