Extend graceful shutdown wait timeout

This commit is contained in:
Tobie Morgan Hitchcock 2016-07-06 19:12:14 +01:00
parent 96f123bce1
commit 8e2c21af35

View file

@ -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())