Skip to content

Commit

Permalink
Merge pull request #34 from XueSiLf/5.x
Browse files Browse the repository at this point in the history
Fix: add coroutine support
  • Loading branch information
kiss291323003 authored May 30, 2021
2 parents 9a49276 + aef0b36 commit 3ad8ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Rpc.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function __getAssistWorker():AssistWorker
$config = new ProcessConfig();
$config->setProcessGroup("{$this->config->getServerName()}.Rpc");
$config->setProcessName("{$this->config->getServerName()}.Rpc.AssistWorker");
$config->setEnableCoroutine(true);
$config->setArg([
'manager'=>$this->manager,
'config'=>$this->config
Expand Down

0 comments on commit 3ad8ae6

Please sign in to comment.