Skip to content

Commit

Permalink
fix: remove latency when shutting down http server
Browse files Browse the repository at this point in the history
  • Loading branch information
thoas committed Oct 16, 2023
1 parent 10475e5 commit 9eb3661
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ func (s *HTTPServer) Run(ctx context.Context) error {
if err := srv.Shutdown(ctx); err != nil {
return err
}
select {
case <-ctx.Done():
s.processor.Logger.Debug("HTTP server timeout")
}

s.processor.Logger.Debug("HTTP server exiting")

Expand Down

0 comments on commit 9eb3661

Please sign in to comment.