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

parallel awaits for Sources in sourceDataProvider #270

Merged
merged 1 commit into from
May 14, 2022

Conversation

kingdonb
Copy link
Collaborator

Do as in workloadsDataProvider – when there are multiple resource kinds to fetch, get them in parallel

This avoids an uncomfortably long wait for Sources tree view timing out compared with the Workloads tree view that times out in about 30s.

(Timeouts are not in our control for now, since the kubectl implementation comes from kubernetes provider extension, but we can control how many times we call operations in succession that might time out.)

Do as in workloadsDataProvider

Signed-off-by: Kingdon Barrett <[email protected]>
@kingdonb
Copy link
Collaborator Author

This should (mostly) mitigate or close #267

@kingdonb kingdonb marked this pull request as ready for review May 13, 2022 21:19
@kingdonb
Copy link
Collaborator Author

We can leave #267 open until it's clear the issue is really gone

@kingdonb kingdonb requested a review from juozasg May 13, 2022 21:22
@kingdonb
Copy link
Collaborator Author

I am going to go ahead and merge this one to keep things moving, please review it when you get a chance. 👍

@kingdonb kingdonb added this to the 0.20 milestone May 14, 2022
@kingdonb kingdonb merged commit 3928975 into main May 14, 2022
@kingdonb kingdonb deleted the parallelize-source-data branch May 14, 2022 16:48
@kingdonb kingdonb removed this from the 0.20 milestone Jul 19, 2022
@kingdonb
Copy link
Collaborator Author

(This is a straggler and it was actually released in the already closed 0.19.x milestone)

https://github.com/weaveworks/vscode-gitops-tools/releases/tag/0.19.3

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.

1 participant