-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0 的热更新功能 #273
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述
由于 2.x 的热更新(以及 polling-watch)都是仅适用于 Swoole 的,3.0 的环境下,Windows 不支持(需要在使用
--watch
时发出提示语句),单进程模式不支持(即只有一个 Master 没有 Worker 的情况),剩下的情况需要适配不同驱动。例如,Swoole 可继续使用创建子进程进行监听,继续沿用之前的 2.x,但 Workerman 在 libob 的 Driver 层面是一个未完全封装的状态,比如设置了 UserProcessStartEvent 时自动创建一个 UserProcess。但两个驱动的 UserProcess 创建和底层 EventLoop 均未做过任何测试,发生的行为都是未知的。
所以,咋办呢?这也算是一个特性上简单但实现比较麻烦的功能了。
例子
No response
Tasks
The text was updated successfully, but these errors were encountered: