Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Removed srv timeouts for debug endpoints.
Browse files Browse the repository at this point in the history
This is due to: golang/go#18746

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Nov 27, 2018
1 parent 0be5c65 commit d0f773d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/kedge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,6 @@ func debugServer(logEntry *log.Entry, middlewares chi.Middlewares, noAuthMiddlew
m.Handle("/debug/events", middlewares.HandlerFunc(trace.Events))

return &http.Server{
WriteTimeout: *flagHttpMaxWriteTimeout,
ReadTimeout: *flagHttpMaxReadTimeout,
ErrorLog: http_logrus.AsHttpLogger(logEntry.WithField(ctxtags.TagForScheme, "tls")),
Handler: m,
}, nil
Expand Down

0 comments on commit d0f773d

Please sign in to comment.