-
Notifications
You must be signed in to change notification settings - Fork 901
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(kubernetes): Load manifest and instance details in parallel (#8499)
* refactor(kubernetes): Flip an if condition retrieveInstance has a really long if block that would be clearer if we just returned null immediately if the data is missing (rather than have the usual path in a long block). Make that change separately to make the next diff smaller. * perf(kubernetes): Load manifest and instance details in parallel When opening an instance tab, we currently wait for the reqeust to /instances to finish before starting the request to /manifests even though we have the required information for both. This PR updates the Kubernetes instance provider to send both requests immediately, reducing the amount of time the user needs to wait for the instance tab to load.
- Loading branch information
Showing
1 changed file
with
65 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters