-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve server API detection to prefer REST by default
Previously, we used GraphQL by default, and we didn't wait to check - to the initial version & config requests were both sent via GraphQL, and then only subsequent requests switched to REST, after the version had been checked. Most users are using the REST server now, and it's best to simplify and use just that single API wherever possible, so this should clean things up a bit. Adds perhaps 11ms in startup time but that seems negligible and there are other steps running in parallel anyway.
- Loading branch information
Showing
1 changed file
with
31 additions
and
14 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