管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-08-07 6a3fd334dd052166feaff30a11c6dfb24f0f99eb
src/main/resources/application.yml
@@ -1,7 +1,10 @@
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 1000
    max-connections: 5000
    max-http-form-post-size: 50MB
    threads:
      max: 1000
  port: 12316
  servlet:
    context-path: /server
@@ -15,13 +18,13 @@
    host: 127.0.0.1
    port: 6369
    password: rediS_5L#F4_Server
    timeout: 90000  # 连接超时时长(毫秒)
    timeout: 10000  # 连接超时时长(毫秒)
    lettuce:
      pool:
        max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
        max-wait: -1      # 连接池最大阻塞等待时间(使用负值表示没有限制)
        max-idle: 10      # 连接池中的最大空闲连接
        min-idle: 0       # 连接池中的最小空闲连接
        min-idle: 5       # 连接池中的最小空闲连接
  # session
  session:
    timeout: PT20M # 20分钟
@@ -67,8 +70,8 @@
      initial-size: 5
      min-idle: 5
      max-active: 100
      ## 配置获取连接等待超时的时间
      max-wait: 6000
      ## 配置获取连接等待超时的时间,ms
      max-wait: 60000
      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
      time-between-eviction-runs-millis: 60000
      # 配置一个连接在池中最小生存的时间,单位是毫秒
@@ -118,11 +121,13 @@
remote:
  maxTotalConnect: 0
  maxConnectPerRoute: 1000
  connectTimeout: 5000
  readTimeout: 1800000
  connectTimeout: 30000
  readTimeout: -1
# 系统配置
sys:
  # 管理员ID
  admin: ad_Lf1122_min
  # IIS的主机地址
  iisHost: 127.0.0.1
  # FME服务地址