forked from puppetlabs/puppet-editor-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(puppetlabsGH-40) Use sidecar to retrieve puppet information
Previously a sidecar process was introduced to query puppet for information, however the Language Server was yet to take advantage of it. This commit modifies the Puppet Helper in the Language Server to use the sidecar instead. This commit also uses a queueing mechanism to throttle the sidecar and ensure that if there are duplicate sidecar requests, only the most recent is processed. This ensures that that CPU and memory use is capped, but still maintains a good repsonse time and user experience.
- Loading branch information
1 parent
5f0d0cb
commit bcbb09f
Showing
18 changed files
with
683 additions
and
1,262 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
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
Oops, something went wrong.