This commit is contained in:
2021-08-05 16:08:10 +08:00
parent 18ad158655
commit ab2aed3387
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class ServerWorker extends \Server\Abstracts\Server
private function interpretDirectory(Server $server, Annotation $annotation, $workerId)
{
$fileLists = $annotation->runtime(APP_PATH . 'app',
$workerId < $server->setting['worker_num'] ? [CONTROLLER_PATH] : []
$workerId < $server->setting['worker_num'] ? [] : [CONTROLLER_PATH]
);
$di = Snowflake::getDi();