fix(fix4): enforce runtime contract and orchestrator guardrails
This commit is contained in:
@@ -27,10 +27,6 @@ func StartServer(crtPath string, keyPath string) error {
|
||||
}
|
||||
|
||||
func StopServer() error {
|
||||
if err := StopHysteria2(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
|
||||
defer cancel()
|
||||
if err := server.Shutdown(ctx); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user