Skip to content

Commit

Permalink
Enable use_lua by default.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
colinmollenhour authored Oct 25, 2023
1 parent 3fc3e91 commit dc2fd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cm/Cache/Backend/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc2fd4f

Please sign in to comment.