Skip to content

Commit

Permalink
increase chats api timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Nov 21, 2024
1 parent 9489768 commit 6672d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/vc/api/VcApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public ApiClient apiClient(
}

@Bean(name = "chatsApiClient")
public ApiClient apiClientNames(
public ApiClient apiClientChats(
final HttpClient.Builder httpClientBuilder,
final ObjectMapper objectMapper,
@Value("${API_KEY}") final String apiKey
) {
return apiClient(httpClientBuilder, objectMapper, apiKey)
.setReadTimeout(Duration.ofSeconds(60));
.setReadTimeout(Duration.ofSeconds(90));
}

@Bean
Expand Down

0 comments on commit 6672d7f

Please sign in to comment.