13693261870
7 天以前 b77444d17b5fcc41ebcdc08588b8b035b428b16b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 5000
    max-http-form-post-size: 100MB
    threads:
      max: 2000
  servlet:
    context-path: /
 
spring:
  # redis
  redis:
    database: 0
    host: 192.168.11.203
    port: 6379
    password: rediS_5L#F4_Server
    timeout: 10000
    lettuce:
      pool:
        max-active: 1000
        max-wait: -1
        max-idle: 10
        min-idle: 5
  # session
  session:
    timeout: PT20M
  # servlet
  servlet:
    multipart:
      enabled: true
      max-file-size: 204800MB
      max-request-size: 1048576MB
  # jackson
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
    locale: zh_CN
  # datasource
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true
    username: postgres
    password: Postgres!_17_jHs
    driver-class-name: org.postgresql.Driver
    platform: POSTGRESQL
    filters: stat,wall,log4j
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    logAbandoned: true
    # druid
    druid:
      initial-size: 5
      min-idle: 5
      max-active: 100
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 300000
      max-pool-prepared-statement-per-connection-size: 50
      pool-prepared-statements: true
      validation-query: SELECT 1
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      filters: stat,wall
      stat-view-servlet:
        enabled: false
 
mybatis-plus:
  config-location: classpath:mybatis.xml
 
logging:
  config: classpath:logback.xml
 
remote:
  maxTotalConnect: 0
  maxConnectPerRoute: 1000
  connectTimeout: 30000
  readTimeout: -1
 
sys:
  swaggerEnable: true