From 18d3f8b5e5a345b34ccb1bd654778b791e0ae734 Mon Sep 17 00:00:00 2001 From: nanotronic Date: Thu, 31 Oct 2019 08:07:55 +0100 Subject: [PATCH] Fixed Storage\Adapter\Redis::settimeout Replace settimeout with expire --- phalcon/cache/backend/redis.zep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phalcon/cache/backend/redis.zep b/phalcon/cache/backend/redis.zep index 04757c6f1b3..07b5c2ad373 100644 --- a/phalcon/cache/backend/redis.zep +++ b/phalcon/cache/backend/redis.zep @@ -258,7 +258,7 @@ class Redis extends Backend // Don't set expiration for negative ttl or zero if tt1 >= 1 { - redis->settimeout(lastKey, tt1); + redis->expire(lastKey, tt1); } let options = this->_options;