Closed PatrickDarmawi closed 1 week ago
Is there a way I can shut down the proxy server when encountering a specific error? I looked into the docs/available methods and couldn't find a way.
If you just want to hard stop, since a Pingora server is a multithreaded single process you can just std::process::exit(1) to stop the entire process.
std::process::exit(1)
Thanks!
Is there a way I can shut down the proxy server when encountering a specific error? I looked into the docs/available methods and couldn't find a way.