Method: Redis#persist
- Defined in:
- lib/redis.rb
#persist(key) ⇒ Boolean
Remove the expiration from a key.
413 414 415 416 417 |
# File 'lib/redis.rb', line 413 def persist(key) synchronize do |client| client.call([:persist, key], &Boolify) end end |