Skip to content

Commit

Permalink
Update timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
George Palasanu committed Sep 14, 2022
1 parent 0c36a95 commit a7d9c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *Server) Start() error {
http.HandleFunc("/webhook", s.webhookHandler)
server := &http.Server{
Addr: s.BindAddress,
ReadHeaderTimeout: 2 * time.Minute,
ReadHeaderTimeout: 30 * time.Second,
}
if err := server.ListenAndServe(); err != nil {
return err
Expand Down

0 comments on commit a7d9c92

Please sign in to comment.