mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 14:57:05 +00:00
context transactions removed and make Context.Domain customizable as requested
This commit is contained in:
2
iris.go
2
iris.go
@@ -588,7 +588,7 @@ func (app *Application) NewHost(srv *http.Server) *host.Supervisor {
|
||||
if !app.config.DisableInterruptHandler {
|
||||
// when CTRL/CMD+C pressed.
|
||||
shutdownTimeout := 10 * time.Second
|
||||
host.RegisterOnInterrupt(host.ShutdownOnInterrupt(su, shutdownTimeout))
|
||||
RegisterOnInterrupt(host.ShutdownOnInterrupt(su, shutdownTimeout))
|
||||
// app.logger.Debugf("Host: register server shutdown on interrupt(CTRL+C/CMD+C)")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user