Skip to content

Commit 538b591

Browse files
authored
fix(amazonq): reduce frequency of system information polling (#5190)
The system status (battery, CPU usage) was polled very frequently. aws/aws-toolkit-vscode#6134. The fix is to only poll system status (battery, CPU usage) when vector indexing is in progress. The system cpu/battery poll was to make the vector index pause when system load is high to protect system resources, it is no longer needed after vector index is done.
1 parent 6ab1ce6 commit 538b591

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" : "bugfix",
3+
"description" : "Reduce frequency of system information query"
4+
}

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/manifest/ManifestManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import software.aws.toolkits.jetbrains.core.getTextFromUrl
1515

1616
class ManifestManager {
1717
private val cloudFrontUrl = "https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json"
18-
val currentVersion = "0.1.27"
18+
val currentVersion = "0.1.32"
1919
val currentOs = getOs()
2020
private val arch = CpuArch.CURRENT
2121
private val mapper = jacksonObjectMapper()

0 commit comments

Comments
 (0)