Skip to content

Commit 266998a

Browse files
committed
patch
1 parent caa462d commit 266998a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/amazonq/chat/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/workspace/context/ProjectContextProviderTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class ProjectContextProviderTest {
364364
.withResponseBody(
365365
Body(validQueryInlineResponse)
366366
)
367-
.withFixedDelay(51) // 10 sec
367+
.withFixedDelay(101) // 100 ms
368368
)
369369
)
370370

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
172172
}
173173
}
174174

175-
suspend fun queryInline(query: String, filePath: String): List<InlineBm25Chunk> = withTimeout(50L) {
175+
suspend fun queryInline(query: String, filePath: String): List<InlineBm25Chunk> = withTimeout(100L) {
176176
cs.async {
177177
val encrypted = encryptRequest(QueryInlineCompletionRequest(query, filePath))
178178
val r = sendMsgToLsp(LspMessage.QueryInlineCompletion, encrypted)

0 commit comments

Comments
 (0)