This commit is contained in:
2020-09-11 18:23:56 +08:00
parent 7dfd2b0da2
commit 58ebf85082
+2 -2
View File
@@ -72,12 +72,12 @@ trait Action
* @return void * @return void
* @throws Exception * @throws Exception
*/ */
private function close($server) private function close(\HttpServer\Server $server)
{ {
echo 'waite.'; echo 'waite.';
while ($server->isRunner()) { while ($server->isRunner()) {
echo '.'; echo '.';
$pods = glob(storage('workerIds') . '/*'); $pods = glob(storage('worker') . '/*');
if (count($pods) < 1) { if (count($pods) < 1) {
break; break;
} }