This commit is contained in:
2021-03-23 17:26:15 +08:00
parent a005b953c3
commit 57c7df9ecb
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -56,6 +56,10 @@ use Snowflake\Snowflake;
$rpc = Snowflake::app()->getRpc();
$rpc->addProducer($this->cmd, $handler, $this->config);
if ($handler[0] instanceof IProducer) {
$handler[0]->initClient();
}
return parent::execute($handler);
}