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

Add explicit HTTP request timeouts #892

Merged
merged 6 commits into from
Nov 29, 2023
Merged

Conversation

simu
Copy link
Member

@simu simu commented Nov 24, 2023

The HTTP request timeout can be configured through a new command line flag (or associated environment variable). If the parameter isn't provided, we use a request timeout of 5 seconds.

Resolves #758

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Update the documentation.
  • Update tests.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency, internal
    as they show up in the changelog
  • Link this PR to related issues.

@simu simu changed the title Feat/explicit request timeouts Add explicit HTTP request timeouts Nov 24, 2023
@simu simu added the enhancement New feature or request label Nov 24, 2023
@simu simu force-pushed the feat/explicit-request-timeouts branch 2 times, most recently from 2499628 to b73218d Compare November 24, 2023 16:38
@simu simu marked this pull request as ready for review November 24, 2023 16:45
@simu simu requested a review from a team as a code owner November 24, 2023 16:45
@simu simu requested a review from a team November 24, 2023 16:46
simu added 6 commits November 29, 2023 13:25
We've vendored kube.libsonnet in Commodore a while ago to allow us to
make updates to support recent Kubernetes versions.

Because Commodore will always setup the Jsonnet search paths to include
the vendored kube.libsonnet, there's no need to download the upstream
copy for the `commodore.libjsonnet` tests.
@simu simu force-pushed the feat/explicit-request-timeouts branch from b73218d to ba3a771 Compare November 29, 2023 12:25
@simu simu merged commit 84f31aa into master Nov 29, 2023
20 checks passed
@simu simu deleted the feat/explicit-request-timeouts branch November 29, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address new bandit lints B113, B603, B607
2 participants