Arguments
string
required
The key to persist
Response
1 if the timeout was removed, 0 if key does not exist or does not have an associated timeout.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.persist(key);
Remove any timeout set on the key.
1 if the timeout was removed, 0 if key does not exist or does not have an associated timeout.await redis.persist(key);
Was this page helpful?