260227_01_ENH: 중복되는 cache clear 제거
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user