Merge branch 'MDL-72796_M311_fix-retry-delay-for-redis-session-cache' of https://github.com/ziegenberg/moodle into MOODLE_311_STABLE

This commit is contained in:
Andrew Nicols
2021-12-07 10:52:06 +08:00
+1 -1
View File
@@ -193,7 +193,7 @@ class redis extends handler {
try {
$delay = rand(100000, 500000);
$delay = rand(100, 500);
// One second timeout was chosen as it is long for connection, but short enough for a user to be patient.
if (!$this->connection->connect($this->host, $this->port, 1, null, $delay)) {