mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-12 14:18:35 -07:00
go fmt [ci skip]
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user