We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我看到热更新时,是发送 SIGUSR1 信号的:
SIGUSR1
$watcher->watch(function () use ($pool) { Process::kill($pool->master_pid, SIGUSR1); });
我测试过,在一个请求中 sleep(10),在 sleep 结束前随便修改一行代码触发热更新,之前 sleep(10) 的请求就自动结束了 请问有什么办法重启时让之前正在执行的请求顺利执行完吗?
sleep(10)
The text was updated successfully, but these errors were encountered:
还不可以,很影响业务
Sorry, something went wrong.
No branches or pull requests
我看到热更新时,是发送
SIGUSR1
信号的:我测试过,在一个请求中
sleep(10)
,在 sleep 结束前随便修改一行代码触发热更新,之前sleep(10)
的请求就自动结束了请问有什么办法重启时让之前正在执行的请求顺利执行完吗?
The text was updated successfully, but these errors were encountered: