Refactor: 현재키값을 확인하기 위한 로깅

This commit is contained in:
김용수 2024-09-30 14:07:30 +09:00
parent 0c57d36355
commit a0c1bf7c2b

View File

@ -65,6 +65,7 @@ public class ProgressCacheRepository {
public int getProgressModelId(final int projectId) { public int getProgressModelId(final int projectId) {
String key = CacheKey.autoLabelingProgressKey(); String key = CacheKey.autoLabelingProgressKey();
Object modelId = redisTemplate.opsForHash().get(key, String.valueOf(projectId)); Object modelId = redisTemplate.opsForHash().get(key, String.valueOf(projectId));
log.debug("projectId {} {}", projectId, modelId);
return modelId == null ? 0 : (int) modelId; return modelId == null ? 0 : (int) modelId;
} }