改名
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ class Struct
|
|||||||
public int $offset;
|
public int $offset;
|
||||||
|
|
||||||
public Message $message;
|
public Message $message;
|
||||||
public ?string $topic;
|
public string $topic;
|
||||||
|
|
||||||
public mixed $value;
|
public mixed $value;
|
||||||
public int $part;
|
public int $part;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class ServerWorker extends \Server\Abstracts\Server
|
|||||||
private function interpretDirectory(Server $server, Annotation $annotation, $workerId)
|
private function interpretDirectory(Server $server, Annotation $annotation, $workerId)
|
||||||
{
|
{
|
||||||
$fileLists = $annotation->runtime(APP_PATH . 'app',
|
$fileLists = $annotation->runtime(APP_PATH . 'app',
|
||||||
$workerId < $server->setting['worker_num'] ? [CONTROLLER_PATH] : []
|
$workerId < $server->setting['worker_num'] ? [] : [CONTROLLER_PATH]
|
||||||
);
|
);
|
||||||
|
|
||||||
$di = Snowflake::getDi();
|
$di = Snowflake::getDi();
|
||||||
|
|||||||
Reference in New Issue
Block a user