From 9d7bedcd75c42bfef382cc4f4faa152b30d67e8e Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Thu, 3 Sep 2020 15:14:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0elasticsearch=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jetlinks-standalone/src/main/resources/application.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jetlinks-standalone/src/main/resources/application.yml b/jetlinks-standalone/src/main/resources/application.yml index 95704133..345e57e5 100644 --- a/jetlinks-standalone/src/main/resources/application.yml +++ b/jetlinks-standalone/src/main/resources/application.yml @@ -32,6 +32,14 @@ spring: reactor: debug-agent: enabled: false + data: + elasticsearch: + client: + reactive: + endpoints: ${elasticsearch.client.host}:${elasticsearch.client.port} + max-in-memory-size: 100MB + socket-timeout: ${elasticsearch.client.socket-timeout} + connection-timeout: ${elasticsearch.client.socket-timeout} easyorm: default-schema: public # 数据库默认的schema dialect: postgres #数据库方言