redlock-php icon indicating copy to clipboard operation
redlock-php copied to clipboard

NOAUTH Authentication required

Open pro911 opened this issue 4 years ago • 0 comments

            list($host, $port, $timeout,$auth) = $server;
            $redis = new \Redis();
            $redis->connect($host, $port, $timeout);

            if ($auth) {
                $redis->auth($auth);
            }

pro911 avatar Sep 21 '21 09:09 pro911