You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/startup/AmazonQStartupActivity.kt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ class AmazonQStartupActivity : ProjectActivity {
63
63
}
64
64
65
65
privatesuspendfunstartLsp(project:Project) {
66
-
// Automatically start the project context LSP after some delay when average CPU load is below 30%.
66
+
// Automatically start the project context LSP after some delay when average CPU load is below 40%.
67
67
// The CPU load requirement is to avoid competing with native JetBrains indexing and other CPU expensive OS processes
68
68
// In the future we will decouple LSP start and indexing start to let LSP perform other tasks.
69
69
val startLspIndexingDuration =Duration.ofMinutes(30)
@@ -73,18 +73,19 @@ class AmazonQStartupActivity : ProjectActivity {
73
73
withTimeout(startLspIndexingDuration) {
74
74
while (true) {
75
75
val cpuUsage =ManagementFactory.getOperatingSystemMXBean().systemLoadAverage
0 commit comments