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: introduce a separate timeout config property for api timeouts #9498

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

apoorvmahajan
Copy link
Contributor

@apoorvmahajan apoorvmahajan commented Jul 22, 2021

Presently, for api calls made by deck to other microservices, pollSchedule property is being used. It seems like this is primarily meant for this.

So this PR introduces a separate property that is solely meant for timeouts. To not make it a breaking change, this PR goes with the following (SETTINGS.apiTimeoutMs || SETTINGS.pollSchedule || 30000)

What do you think about this?

@apoorvmahajan apoorvmahajan changed the title fix: introduce a separate timeout config property for api timeouts feat: introduce a separate timeout config property for api timeouts Jul 28, 2021
@dbyron-sf dbyron-sf added the ready to merge Reviewed and ready for merge label Jul 28, 2021
@mergify mergify bot merged commit 678a78a into spinnaker:master Jul 28, 2021
apoorvmahajan added a commit to apoorvmahajan/spinnaker.io that referenced this pull request Jul 29, 2021
apoorvmahajan added a commit to apoorvmahajan/spinnaker.io that referenced this pull request Jul 29, 2021
dbyron-sf pushed a commit to spinnaker/spinnaker.io that referenced this pull request Jul 29, 2021
@apoorvmahajan apoorvmahajan deleted the api_timeout branch September 30, 2021 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Reviewed and ready for merge target-release/1.27
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants