This commit is contained in:
as2252258@163.com
2021-05-04 02:43:58 +08:00
parent da1d8439c6
commit 6230db7a4f
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -102,6 +102,7 @@ class Redis extends Pool
}
$this->push($coroutineName, Context::getContext($coroutineName));
Context::remove($coroutineName);
$this->lastTime = time();
}
@@ -117,7 +118,8 @@ class Redis extends Pool
if (Context::hasContext($coroutineName)) {
$this->decrement($coroutineName);
}
$this->flush(0);
Context::remove($coroutineName);
$this->flush(0);
}
/**