1.修改日志报错问题

2.移动公用地址到common下
This commit is contained in:
sh
2026-04-09 19:19:47 +08:00
parent a1b880f817
commit fd4ab146e0
11 changed files with 140 additions and 22 deletions

View File

@@ -48,7 +48,7 @@ public class SysJobServiceImpl implements ISysJobService
public void init() throws SchedulerException, TaskException
{
try (DistributedLockUtil.AutoReleaseLock autoLock =
distributedLockUtil.tryLockJob(JOB_INIT_LOCK_KEY, LOCK_ACQUIRE_TIMEOUT_SECONDS, TimeUnit.SECONDS)) {
distributedLockUtil.tryLock(JOB_INIT_LOCK_KEY, LOCK_ACQUIRE_TIMEOUT_SECONDS, TimeUnit.SECONDS)) {
if (autoLock == null || !autoLock.isLocked()) {
System.out.println("【定时任务初始化】其他实例已持有锁,当前实例跳过初始化");
return;