class Redis

def persist(key)

Returns:
  • (Boolean) - whether the timeout was removed or not

Parameters:
  • key (String) --
def persist(key)
  synchronize do |client|
    client.call([:persist, key], &Boolify)
  end
end