chore(settings/health): remove unneeded health fields
This commit is contained in:
@@ -10,11 +10,13 @@ import (
|
||||
func (s *Server) Run(ctx context.Context, done chan<- struct{}) {
|
||||
defer close(done)
|
||||
|
||||
const readHeaderTimeout = 100 * time.Millisecond
|
||||
const readTimeout = 500 * time.Millisecond
|
||||
server := http.Server{
|
||||
Addr: s.config.ServerAddress,
|
||||
Handler: s.handler,
|
||||
ReadHeaderTimeout: s.config.ReadHeaderTimeout,
|
||||
ReadTimeout: s.config.ReadTimeout,
|
||||
ReadHeaderTimeout: readHeaderTimeout,
|
||||
ReadTimeout: readTimeout,
|
||||
}
|
||||
serverDone := make(chan struct{})
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user