Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webhook): add webhook-specific configuration properties for read and connect timeout #4839

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

dbyron-sf
Copy link
Contributor

@dbyron-sf dbyron-sf commented Feb 16, 2025

webhook.readTimeoutMs (default 20000) and webhook.connectTimeoutMs (default 15000).

If not present, fall back to ok-http-client.readTimeoutMs and ok-http-client.connectTimeoutMs (same defaults) to mantain behavior where those ok-http-client properties are set.

This way it's possible to configure webhook stages independently of the way spinnaker microservices communicate with each other.

… and connect timeout

webhook.readTimeoutMs (default 20000) and webhook.connectTimeoutMs (default 15000)

instead of using ok-http-client.readTimeoutMs and ok-http-client.connectTimeoutMs (same
defaults).  This way it's possible to configure webhook stages independently of the way
spinnaker microservices communicate with each other.
…lient.connectTimeoutMs

if the corresponding `webhook.` property isn't set, for backwards compatibility.
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Feb 17, 2025
@mergify mergify bot added the auto merged Merged automatically by a bot label Feb 17, 2025
@mergify mergify bot merged commit 77cff27 into spinnaker:master Feb 17, 2025
4 checks passed
@dbyron-sf dbyron-sf deleted the webhook-client-config branch February 17, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.37
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants