去除调试日志

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent d6b3a813ab
commit e532ce0da1

@ -77,9 +77,9 @@ public class QueueServiceImpl implements QueueService {
queueIdWhere.append(where);
}
queueIdWhere.append(String.format(" order by %s asc limit %s", queueIdColumnName, limit));
log.info("whereStr: " + queueIdWhere);
// log.info("whereStr: " + queueIdWhere);
List<Map<String, Object>> queueList = queueMapper.select(queueName, queueIdWhere.toString());
log.info("queueList size: " + queueList.size());
// log.info("queueList size: " + queueList.size());
if (ObjectUtil.isEmpty(queueList)) {
break;
}
@ -100,12 +100,10 @@ public class QueueServiceImpl implements QueueService {
Set<String> tempRedisIds = new HashSet<>();
tempRedisIds.addAll(redisIds);
tempRedisIds.addAll(newRedisIds);
log.info("allQueueList count: " + allQueueList.size());
log.info("tempRedisIds count: " + tempRedisIds.size());
// log.info("allQueueList count: " + allQueueList.size());
// log.info("tempRedisIds count: " + tempRedisIds.size());
for (Map<String, Object> queue : allQueueList) {
String queueIdStr = queue.get(queueIdColumnName).toString();
Long queueId = Long.valueOf(queueIdStr);
log.info("queueId: " + queueId);
if (redisIds.contains(queueIdStr)) {
continue;
}

Loading…
Cancel
Save