Skip to content

Conversation

@leigaol
Copy link
Contributor

@leigaol leigaol commented Dec 10, 2024

Problem

The system status (battery, CPU usage) was polled very frequently. #6134

Solution

Only poll system status (battery, CPU usage) when vector indexing is in progress, this is to make the vector index pause when system load is high to protect system resources.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.

License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@leigaol leigaol requested review from a team as code owners December 10, 2024 18:07
@leigaol leigaol requested a review from Will-ShaoHua December 10, 2024 18:07
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@justinmk3 justinmk3 merged commit 70a9295 into aws:master Dec 10, 2024
28 of 38 checks passed
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
## Problem
The system status (battery, CPU usage) was polled very frequently.
aws#6134

## Solution
Only poll system status (battery, CPU usage) when vector indexing is in
progress, this is to make the vector index pause when system load is
high to protect system resources.
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.

3 participants