diff --git a/HttpServer/Action.php b/HttpServer/Action.php index 65af9876..c41d9fec 100644 --- a/HttpServer/Action.php +++ b/HttpServer/Action.php @@ -72,12 +72,12 @@ trait Action * @return void * @throws Exception */ - private function close($server) + private function close(\HttpServer\Server $server) { echo 'waite.'; while ($server->isRunner()) { echo '.'; - $pods = glob(storage('workerIds') . '/*'); + $pods = glob(storage('worker') . '/*'); if (count($pods) < 1) { break; }