fix: 解决 redis mq 消息丢失问题

This commit is contained in:
gaibu 2022-12-23 10:32:18 +08:00
parent e9645d7054
commit 2d7d3f1511
1 changed files with 0 additions and 1 deletions

View File

@ -43,7 +43,6 @@ public class RedisPendingMessageResendJob {
@Scheduled(cron = "35 * * * * ?")
public void messageResend() {
RLock lock = redissonClient.getLock(LOCK_KEY);
log.info("[messageResend][尝试获取锁]");
// 尝试加锁
if (lock.tryLock()) {
try {