This commit is contained in:
as2252258@163.com
2021-04-08 01:47:28 +08:00
parent 09a278db46
commit bf42b28760
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ class OnWorkerStart extends Callback
/** @var Loader $runtime */
$runtime = unserialize(file_get_contents(storage('runtime.php')));
$annotation->setLoader($runtime);
if ($worker_id >= $server->setting['worker_num']) {
$annotation->instanceDirectoryFiles(MODEL_PATH);