Skip to content

Commit cec8ed1

Browse files
authored
Revert "fix: Updated read timeout override (#4407)" (#4465)
This reverts commit 2722dc5.
1 parent 20204ce commit cec8ed1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererEndpointCustomizer.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ class CodeWhispererEndpointCustomizer : ToolkitClientCustomizer {
6868
if (builder is CodeWhispererStreamingAsyncClientBuilder) {
6969
val proxy = CommonProxy.getInstance().select(endpoint).first()
7070
val address = proxy.address()
71-
val clientBuilder = NettyNioAsyncHttpClient.builder()
72-
clientOverrideConfiguration.apiCallTimeout(Duration.ofMinutes(3))
71+
val clientBuilder = NettyNioAsyncHttpClient.builder().readTimeout(Duration.ofMinutes(3))
7372

7473
// proxy.type is one of {DIRECT, HTTP, SOCKS}, and is definitely a InetSocketAddress in the HTTP/SOCKS case
7574
// and is null in DIRECT case

0 commit comments

Comments
 (0)