Extend graceful shutdown wait timeout
This commit is contained in:
parent
96f123bce1
commit
8e2c21af35
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func Setup(opts *cnf.Options) (err error) {
|
||||||
s := fibre.Server(opts)
|
s := fibre.Server(opts)
|
||||||
|
|
||||||
routes(s)
|
routes(s)
|
||||||
s.SetWait("5s")
|
s.SetWait("15s")
|
||||||
s.SetName("web")
|
s.SetName("web")
|
||||||
s.SetHTTPErrorHandler(errors)
|
s.SetHTTPErrorHandler(errors)
|
||||||
s.Logger().SetLogger(log.Instance())
|
s.Logger().SetLogger(log.Instance())
|
||||||
|
|
Loading…
Reference in a new issue