This commit is contained in:
2021-05-17 17:32:42 +08:00
parent bf30b66153
commit 5ff7af998b
+1 -1
View File
@@ -35,7 +35,7 @@ class OnWorkerStart extends Callback
putenv('state=start');
putenv('worker=' . $worker_id);
Config::sets(sweep(APP_PATH . 'config'));
Config::sets(sweep());
$annotation = Snowflake::app()->getAnnotation();
$annotation->setLoader(unserialize(file_get_contents(storage(Runtime::CACHE_NAME))));