We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
所有版本
项目:jeecg-boot-starter-lock 注解类:org.jeecg.boot.starter.lock.annotation.JLock @jlock注解的超时时间expireSeconds默认值设置为30000L,这将导致redisson看门狗机制失效,大家用redisson默认是认为有看门狗机制自动续期的,这将有可能导致不符合应用逻辑的分布式锁失效问题出现,比用分布式锁控制的JOB执行时间较长导致锁无法续期而可能被重复执行。应将 expireSeconds的默认值设置为-1,在使用时,redisson框架锁的默认有效时间仍然是30秒,不会影响正常业务
The text was updated successfully, but these errors were encountered:
No branches or pull requests
版本号:
所有版本
问题描述:
项目:jeecg-boot-starter-lock
注解类:org.jeecg.boot.starter.lock.annotation.JLock
@jlock注解的超时时间expireSeconds默认值设置为30000L,这将导致redisson看门狗机制失效,大家用redisson默认是认为有看门狗机制自动续期的,这将有可能导致不符合应用逻辑的分布式锁失效问题出现,比用分布式锁控制的JOB执行时间较长导致锁无法续期而可能被重复执行。应将
expireSeconds的默认值设置为-1,在使用时,redisson框架锁的默认有效时间仍然是30秒,不会影响正常业务
错误截图:
友情提示:
The text was updated successfully, but these errors were encountered: