This commit is contained in:
2021-03-01 16:01:32 +08:00
parent a59e8dbeee
commit 1f828ad01d
4 changed files with 255 additions and 255 deletions
+4 -6
View File
@@ -104,13 +104,11 @@ class Redis extends Pool
{
$name = $config['host'] . ':' . $config['prefix'] . ':' . $config['databases'];
$coroutineName = $this->name('redis', 'redis:' . $name, $isMaster);
if (!Context::hasContext($coroutineName)) {
return;
if (Context::hasContext($coroutineName)) {
$this->desc($coroutineName);
$this->remove($coroutineName);
}
$this->desc($coroutineName);
$this->remove($coroutineName);
$this->clean($coroutineName);
}