update 集成 Lock4j 分布式锁

This commit is contained in:
疯狂的狮子li
2021-06-22 16:45:37 +08:00
parent 715abe1140
commit f098222a43
6 changed files with 71 additions and 77 deletions

View File

@ -15,7 +15,7 @@ ruoyi:
captcha:
# 验证码开关
enabled: false
enabled: true
# 验证码类型 math 数组计算 char 字符验证
type: math
# line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
@ -256,6 +256,13 @@ feign:
circuitbreaker:
enabled: true
--- # 分布式锁 lock4j 全局配置
lock4j:
# 获取分布式锁超时时间,默认为 3000 毫秒
acquire-timeout: 3000
# 分布式锁的超时时间,默认为 30 毫秒
expire: 30000
--- # 定时任务配置
spring:
quartz: