diff --git a/lib/classes/session/redis.php b/lib/classes/session/redis.php index 1855238ecc8..93628b51882 100644 --- a/lib/classes/session/redis.php +++ b/lib/classes/session/redis.php @@ -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)) {