Commit f070910b authored by liqin's avatar liqin 💬

bug fixed

parent 466add35
...@@ -3,9 +3,9 @@ spring: ...@@ -3,9 +3,9 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
druid: druid:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/dydb?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/qunzhihe?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: root username: qunzhihe
password: root password: j2kRn8HjrPez7trw
initial-size: 10 initial-size: 10
max-active: 100 max-active: 100
min-idle: 10 min-idle: 10
...@@ -32,21 +32,21 @@ spring: ...@@ -32,21 +32,21 @@ spring:
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
#/www/server/redis/src/redis-server
redis: redis:
open: false # 是否开启redis缓存 true开启 false关闭
database: 0 database: 0
host: localhost host: localhost
port: 6379 port: 6379
password: # 密码(默认为空) password:
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms
jedis: jedis:
pool: pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制) max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
#jwt: #jwt:
## # 加密秘钥 ## # 加密秘钥
## secret: f4e2e52034348f86b67cde581c0f9eb5 ## secret: f4e2e52034348f86b67cde581c0f9eb5
## # token有效时长,单位秒 ## # token有效时长,单位秒
## expire: 14400 ## expire: 14400
server: server:
tomcat: tomcat:
uri-encoding: UTF-8 uri-encoding: UTF-8
max-threads: 1000 threads:
min-spare-threads: 30 max: 1000
min-spare: 30
port: 8997 port: 8997
connection-timeout: 5000ms
spring: spring:
main: main:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment