From 8da5b63440c18664652031a5f7b5818381010164 Mon Sep 17 00:00:00 2001 From: hoa0217 Date: Thu, 21 Mar 2024 00:39:42 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20timeOut=2010s=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related: #56 --- .../com/modoospace/config/elacticsearch/RestClientConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/modoospace/config/elacticsearch/RestClientConfig.java b/src/main/java/com/modoospace/config/elacticsearch/RestClientConfig.java index 97dd258..f47e834 100644 --- a/src/main/java/com/modoospace/config/elacticsearch/RestClientConfig.java +++ b/src/main/java/com/modoospace/config/elacticsearch/RestClientConfig.java @@ -26,7 +26,7 @@ public RestHighLevelClient elasticsearchClient() { final ClientConfiguration clientConfiguration = ClientConfiguration.builder() .connectedTo(host + ":" + port) .withBasicAuth(username, password) - .withConnectTimeout(Duration.ofSeconds(5)) + .withConnectTimeout(Duration.ofSeconds(10)) .build(); return RestClients.create(clientConfiguration).rest();