Skip to content

Commit

Permalink
优化 FPM 模式下访问不再每次写入扫描日志
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Oct 25, 2021
1 parent 1c95545 commit 23eeba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FpmApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ public function loadRuntime(): int
if ($isBuildRuntime)
{
// 扫描 imi 框架
Scanner::scanImi();
Scanner::scanImi(false);
// 扫描组件
Scanner::scanVendor();
Scanner::scanVendor(false);
}
if ($isBuildRuntime)
{
Imi::buildRuntime($fileName);
}
// 扫描项目
Scanner::scanApp();
Scanner::scanApp(false);
}

return LoadRuntimeResult::ALL;
Expand Down

0 comments on commit 23eeba7

Please sign in to comment.