go fmt [ci skip]
This commit is contained in:
parent
17a6fefc3b
commit
b778b3ea40
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ func Serve(cfg *config.Config, tkr *tracker.Tracker) {
|
||||||
}
|
}
|
||||||
|
|
||||||
grace := &graceful.Server{
|
grace := &graceful.Server{
|
||||||
Timeout: cfg.RequestTimeout.Duration,
|
Timeout: cfg.RequestTimeout.Duration,
|
||||||
ConnState: srv.connState,
|
ConnState: srv.connState,
|
||||||
ListenLimit: cfg.HttpListenLimit,
|
ListenLimit: cfg.HttpListenLimit,
|
||||||
Server: &http.Server{
|
Server: &http.Server{
|
||||||
Addr: cfg.Addr,
|
Addr: cfg.Addr,
|
||||||
|
|
Loading…
Reference in a new issue