Browse Source

fix:redis配置修改

duxin 1 year ago
parent
commit
d3053bc225
1 changed files with 10 additions and 8 deletions
  1. 10 8
      config.yaml

+ 10 - 8
config.yaml

@@ -6,19 +6,18 @@ server:
   redisPrefix: "es"
 elasticSearch:
   address:
-    - "http://192.168.3.149:9201"
-    - "http://192.168.3.241:9206"
+    - "http://192.168.3.241:9205"
   pool:
-    simple: 50
+    simple: 5
     aggs: 2
     complex: 2
-  waitTime: 5000 #单位秒
+  waitTime: 50 #单位秒
   complexQueryLen: 200 #查询条件复杂长度
   threshold: 13
 
   reverseProxy:
-    timeout: 150
-    keepAlive: 600
+    timeout: 15
+    keepAlive: 60
     maxIdleConns: 100
     idleConnTimeout: 60
     tLSHandshakeTimeout: 15
@@ -27,7 +26,7 @@ elasticSearch:
 
   queryState:
     cron: "*/10 * * * * *"
-    curlAddr: "http://192.168.3.241:9206/_nodes/stats?pretty&human&filter_path=nodes.*.thread_pool.search"
+    curlAddr: "http://192.168.3.241:9205/_nodes/stats?pretty&human&filter_path=nodes.*.thread_pool.search"
 
     #elasticsearch: #查询es状态携带账户密码
     #  username: aaa
@@ -48,4 +47,7 @@ logger:
   rotateBackupCompress: 0                     # 滚动切分文件的压缩比(0-9)。默认为0,表示不压缩
   rotateCheckInterval: "1h"                  # 滚动切分的时间检测间隔,一般不需要设置。默认为1小时
   stdoutColorDisabled: false                 # 关闭终端的颜色打印。默认开启
-  writerColorEnable: false                 # 日志文件是否带上颜色。默认false,表示不带颜色
+  writerColorEnable: false                 # 日志文件是否带上颜色。默认false,表示不带颜色
+
+-logTime: 1
+-logEquity: false