class Redis::Client
def set_with_expire(key, value, ttl)
def set_with_expire(key, value, ttl) Redis.deprecate "Using a non-atomic set with expire. Use setex if your Redis version allows it.", caller[0] set(key, value) expire(key, ttl) end
def set_with_expire(key, value, ttl) Redis.deprecate "Using a non-atomic set with expire. Use setex if your Redis version allows it.", caller[0] set(key, value) expire(key, ttl) end