mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'MDL-72796_fix-retry-delay-for-redis-session-cache' of https://github.com/ziegenberg/moodle
This commit is contained in:
commit
47a81d8844
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user