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
* @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;
}