From dc2fd4fab8cb6b11e161f0eacdd5465c5b42b6f1 Mon Sep 17 00:00:00 2001 From: Colin Mollenhour Date: Wed, 25 Oct 2023 13:06:02 -0400 Subject: [PATCH] Enable use_lua by default. Lua mode has proven to work best and has been supported in all non-eol versions of Redis for a very long time so it is now the default. --- Cm/Cache/Backend/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cm/Cache/Backend/Redis.php b/Cm/Cache/Backend/Redis.php index 9467615..5d91303 100644 --- a/Cm/Cache/Backend/Redis.php +++ b/Cm/Cache/Backend/Redis.php @@ -99,7 +99,7 @@ class Cm_Cache_Backend_Redis extends Zend_Cache_Backend implements Zend_Cache_Ba protected $_removeChunkSize = 10000; /** @var bool */ - protected $_useLua = false; + protected $_useLua = true; /** @var integer */ protected $_autoExpireLifetime = 0;