Skip to content

Commit

Permalink
Increase handle timeout. (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Nov 10, 2020
1 parent d88caf2 commit 31684d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/webhooks/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ import "time"

const (
// WebhookHandleTimeout is the duration after which a webhook handle function context times out
WebhookHandleTimeout = 10 * time.Second
// the entire thing is asynchronuous anyway, so the VCS will get an immediate response, this is just
// that we do not have processing of events hanging internally
WebhookHandleTimeout = 60 * time.Second
)

0 comments on commit 31684d6

Please sign in to comment.