260227_01_ENH: 중복되는 cache clear 제거

This commit is contained in:
2026-02-27 15:06:48 +09:00
parent 90950f283b
commit 1e4790f701

View File

@@ -25,7 +25,6 @@ public class CacheAdminController {
private final YearCache yearCache;
private final VariableCache variableCache;
private final StatisticsDbCache statisticsDbCache;
private final AuthService authService;
@Operation(summary = "가용 연도 리스트 캐시 조회")
@@ -45,7 +44,6 @@ public class CacheAdminController {
throw BusinessException.unauthorized("IS_NOT_ADMIN", "권한이 없습니다.");
}
statisticsDbCache.clearStatisticsCache();
return yearCache.reload();
}
@@ -56,7 +54,6 @@ public class CacheAdminController {
throw BusinessException.unauthorized("IS_NOT_ADMIN", "권한이 없습니다.");
}
statisticsDbCache.clearStatisticsCache();
return variableCache.reload();
}
}