改名
This commit is contained in:
@@ -35,10 +35,8 @@ class OnWorkerStart extends Callback
|
|||||||
putenv('state=start');
|
putenv('state=start');
|
||||||
putenv('worker=' . $worker_id);
|
putenv('worker=' . $worker_id);
|
||||||
|
|
||||||
if (env('debug', 'false') == 'true') {
|
$attribute = Snowflake::app()->getAttributes();
|
||||||
$attribute = Snowflake::app()->getAttributes();
|
$attribute->read(directory('app'), 'App');
|
||||||
$attribute->read(directory('app'), 'App');
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->set_process_name($server, $worker_id);
|
$this->set_process_name($server, $worker_id);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user