This commit is contained in:
zt
2025-03-05 16:08:51 +08:00
parent e1ced7e274
commit f12f252904
9 changed files with 46 additions and 16 deletions

View File

@ -12,9 +12,9 @@ spring:
# 主库数据源
master:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
username: root
password: root
url: jdbc:mysql://localhost:3306/work_platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
username: work_platform
password: work_platform
# 从库数据源
# slave:
# driverClassName: com.mysql.cj.jdbc.Driver
@ -70,9 +70,9 @@ spring:
# 端口默认为6379
port: 6379
# 数据库索引
database: 0
database: 15
# 密码
password:
password: 123456
# 连接超时时间
timeout: 10s
# 是否开启ssl

View File

@ -288,10 +288,10 @@ spring:
# JobStore 集群配置
jobStore:
class: org.quartz.impl.jdbcjobstore.JobStoreTX
isClustered: true
clusterCheckinInterval: 15000
txIsolationLevelSerializable: true
misfireThreshold: 60000
isClustered: false
#clusterCheckinInterval: 15000
#txIsolationLevelSerializable: true
#misfireThreshold: 60000
tablePrefix: QRTZ_
# sqlserver 启用
# selectWithLockSQL: SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?