改名
This commit is contained in:
@@ -192,6 +192,7 @@ class Connection extends Pool
|
|||||||
return $link;
|
return $link;
|
||||||
});
|
});
|
||||||
if ($connections === false) {
|
if ($connections === false) {
|
||||||
|
Coroutine::sleep(0.003);
|
||||||
return $this->newClient($config, $coroutineName);
|
return $this->newClient($config, $coroutineName);
|
||||||
}
|
}
|
||||||
return $connections;
|
return $connections;
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ class Redis extends Pool
|
|||||||
return $redis;
|
return $redis;
|
||||||
});
|
});
|
||||||
if ($client === false) {
|
if ($client === false) {
|
||||||
|
Coroutine::sleep(0.003);
|
||||||
return $this->newClient($config, $coroutineName);
|
return $this->newClient($config, $coroutineName);
|
||||||
}
|
}
|
||||||
$this->printClients($config['host'], $coroutineName, true);
|
$this->printClients($config['host'], $coroutineName, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user