Skip to content

fix: add 15s timeout to all outbound HTTP clients (#19)#25

Merged
peg merged 1 commit into
mainfrom
fix/issue-19-http-timeouts
Mar 18, 2026
Merged

fix: add 15s timeout to all outbound HTTP clients (#19)#25
peg merged 1 commit into
mainfrom
fix/issue-19-http-timeouts

Conversation

@peg

@peg peg commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Fixes #19.

Added a package-level httpClient with a 15s timeout. Replaced all http.Get(), http.DefaultClient.Do(), and http.Post() calls in cli.go with httpClient. Also added a 10s timeout to webhook delivery in serve/webhook.go.

@peg
peg merged commit 1dc8f53 into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: add timeouts to all http.DefaultClient calls

1 participant