diff --git a/jetlinks-standalone/src/main/resources/application-embedded.yml b/jetlinks-standalone/src/main/resources/application-embedded.yml index 34386f53..000c9bc2 100644 --- a/jetlinks-standalone/src/main/resources/application-embedded.yml +++ b/jetlinks-standalone/src/main/resources/application-embedded.yml @@ -18,10 +18,10 @@ spring: elasticsearch: client: reactive: - endpoints: ${elasticsearch.client.host}:${elasticsearch.client.port} + endpoints: localhost:9201 max-in-memory-size: 100MB - socket-timeout: ${elasticsearch.client.socket-timeout} - connection-timeout: ${elasticsearch.client.socket-timeout} + socket-timeout: 5000 + connection-timeout: 8000 easyorm: default-schema: PUBLIC # 数据库默认的schema dialect: h2 #数据库方言 @@ -31,13 +31,6 @@ elasticsearch: data-path: ./data/elasticsearch port: 9201 host: 0.0.0.0 - client: - host: localhost - port: 9201 - max-conn-total: 128 - connect-timeout: 5000 - socket-timeout: 5000 - connection-request-timeout: 8000 index: default-strategy: time-by-month #默认es的索引按月进行分表, direct则为直接操作索引. settings: