mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 17:08:36 -07:00
Disable graceful signal handling
This commit is contained in:
@@ -132,6 +132,8 @@ func (s *Server) Serve(addr string) {
|
||||
Timeout: s.config.HTTPRequestTimeout.Duration,
|
||||
ConnState: s.connState,
|
||||
ListenLimit: s.config.HTTPListenLimit,
|
||||
|
||||
NoSignalHandling: true,
|
||||
Server: &http.Server{
|
||||
Addr: addr,
|
||||
Handler: newRouter(s),
|
||||
|
||||
Reference in New Issue
Block a user