Method: Redis#persist
- Defined in:
- lib/redis.rb
#persist(key) ⇒ Boolean
Remove the expiration from a key.
296 297 298 299 300 |
# File 'lib/redis.rb', line 296 def persist(key) synchronize do |client| client.call([:persist, key], &_boolify) end end |