Skip to content

Commit e2a950c

Browse files
authored
fix(amazonq): improve indexing auto start stop strategy (#5050)
* improve indexing auto start stop * lsp 0.1.26
1 parent bb851ec commit e2a950c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-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" : "Improve `@workspace` index start stop strategy"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/startup/AmazonQStartupActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class AmazonQStartupActivity : ProjectActivity {
5353
// In the future we will decouple LSP start and indexing start to let LSP perform other tasks.
5454
val startLspIndexingDuration = Duration.ofMinutes(30)
5555
project.waitForSmartMode()
56+
delay(30_000) // Wait for 30 seconds for systemLoadAverage to be more accurate
5657
try {
5758
withTimeout(startLspIndexingDuration) {
5859
while (true) {

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.19"
18+
val currentVersion = "0.1.26"
1919
val currentOs = getOs()
2020
private val arch = CpuArch.CURRENT
2121
private val mapper = jacksonObjectMapper()

0 commit comments

Comments
 (0)