Browse Source

bug修复

master
luogw 1 month ago
parent
commit
b2511d05e1
  1. 3
      src/main/java/com/project/interaction/utils/NotifyUtil.java

3
src/main/java/com/project/interaction/utils/NotifyUtil.java

@ -39,6 +39,9 @@ public class NotifyUtil {
public void notify(Long taskId,Long clusterId) { public void notify(Long taskId,Long clusterId) {
if (taskId == null || clusterId == null) {
return;
}
// 构建 Redis 缓存 key(按 taskId 唯一) // 构建 Redis 缓存 key(按 taskId 唯一)
String cacheKey = WARN_LOCK_KEY_PREFIX + taskId; String cacheKey = WARN_LOCK_KEY_PREFIX + taskId;

Loading…
Cancel
Save