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
出错就退出 #11
Comments
这个详细看了下代码,选择不同的运行模式就可以了 |
try catch 呢 发自我的 iPhone
|
这个没关系,正常的。当worker进程异常退出后,swoole会启动一个新的worker进程。 ------------------ 原始邮件 ------------------ 主题: Re: [swoole] 出错就退出 (#11) try catch 呢 发自我的 iPhone
— |
发现了一个很致命的问题,就是这个服务,如果在php脚本中出现语法,找不到类等致命错误的时候,服务进程会直接退出,造成服务不可用。
作为服务的话,稳定是必须的。一出错就不提供服务,这肯定不行。请问有没有什么解决方法?
简单说就是虽然出错,但如果不调用错误代码服务不会退出,即使运行错误代码,也能throw 出,但不退出服务进程
The text was updated successfully, but these errors were encountered: