This commit is contained in:
2021-03-18 18:34:14 +08:00
parent 755aa7e2e5
commit de9a12addb
+2 -4
View File
@@ -35,10 +35,8 @@ class OnWorkerStart extends Callback
putenv('state=start');
putenv('worker=' . $worker_id);
if (env('debug', 'false') == 'true') {
$attribute = Snowflake::app()->getAttributes();
$attribute->read(directory('app'), 'App');
}
$attribute = Snowflake::app()->getAttributes();
$attribute->read(directory('app'), 'App');
$this->set_process_name($server, $worker_id);