Refactor: 현재키값을 확인하기 위한 로깅
This commit is contained in:
parent
0c57d36355
commit
a0c1bf7c2b
@ -65,6 +65,7 @@ public class ProgressCacheRepository {
|
||||
public int getProgressModelId(final int projectId) {
|
||||
String key = CacheKey.autoLabelingProgressKey();
|
||||
Object modelId = redisTemplate.opsForHash().get(key, String.valueOf(projectId));
|
||||
log.debug("projectId {} {}", projectId, modelId);
|
||||
return modelId == null ? 0 : (int) modelId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user