API还支持一种事件机制,您可使用该机制注册为在特定事件(比如域的启动、中止、恢复或停止)发生时获得通知。
The API also supports an event mechanism with which you can register to be notified of particular events (such as a domain being booted, suspended, resumed, or stopped).
要停止 tail -f 命令,使用 Ctrl + C 来中止进程。
To stop the tail -f command, use Ctrl + C to break the processing.
如果工作进程意外中止或者停止处理请求,所有等待的请求将被重新分配到新进程中。
If the worker process crashes, or in anyway stops processing the requests, all pending requests are reassigned to a new process.
应用推荐