modify
This commit is contained in:
@@ -44,7 +44,6 @@ class OnWorkerStart extends Callback
|
|||||||
/** @var Loader $runtime */
|
/** @var Loader $runtime */
|
||||||
$runtime = unserialize(file_get_contents(storage('runtime.php')));
|
$runtime = unserialize(file_get_contents(storage('runtime.php')));
|
||||||
$annotation->setLoader($runtime);
|
$annotation->setLoader($runtime);
|
||||||
|
|
||||||
if ($worker_id >= $server->setting['worker_num']) {
|
if ($worker_id >= $server->setting['worker_num']) {
|
||||||
$annotation->instanceDirectoryFiles(MODEL_PATH);
|
$annotation->instanceDirectoryFiles(MODEL_PATH);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user