Skip to content

Commit

Permalink
radelt: #665 add a http timeout to prevent DC hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Sep 17, 2024
1 parent 1f4f8ae commit 26d9b36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum Language {


@Bean
public CloseableHttpClient httpClient(){
public static CloseableHttpClient httpClient(){
int timeout = 30 * 1000;
RequestConfig rc = RequestConfig.custom()
.setConnectTimeout(timeout)
Expand Down

0 comments on commit 26d9b36

Please sign in to comment.