Skip to content

Commit 70a9295

Browse files
authored
fix(amazonq): reduce system status poll freq #6199
## 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.
1 parent 3a5642e commit 70a9295

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Reduce frequency of system status poll"
4+
}

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface Manifest {
5858
}
5959
const manifestUrl = 'https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json'
6060
// this LSP client in Q extension is only going to work with these LSP server versions
61-
const supportedLspServerVersions = ['0.1.29']
61+
const supportedLspServerVersions = ['0.1.32']
6262

6363
const nodeBinName = process.platform === 'win32' ? 'node.exe' : 'node'
6464

0 commit comments

Comments
 (0)