Skip to content

Comments

Support swoole 4.4.0#140

Merged
limingxinleo merged 11 commits intohyperf:masterfrom
limingxinleo:swoole4.4
Jul 7, 2019
Merged

Support swoole 4.4.0#140
limingxinleo merged 11 commits intohyperf:masterfrom
limingxinleo:swoole4.4

Conversation

@limingxinleo
Copy link
Member

不要合并

throw new RuntimeException('Function \'run\' only execute in non-coroutine environment.');
}

\Swoole\Runtime::enableCoroutine(true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是不是抽个配置项允许用户配置要 hook 的函数会更好一些?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是的,明天我加一下

@limingxinleo limingxinleo merged commit 6fdb731 into hyperf:master Jul 7, 2019
@limingxinleo limingxinleo deleted the swoole4.4 branch July 11, 2019 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants