Skip to content

Commit e344b62

Browse files
Karthikeyan RKarthikeyan R
authored andcommitted
KB-13685 Enhancements in cache handling
1 parent 3f10aca commit e344b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/igot/cb/cache/CbPlanCacheMgr.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public List<Map<String, Object>> getCbPlanForAllAndOrgId(String orgId, AtomicBoo
107107
List<Map<String, Object>> activeCbPlans = cbPlanCache.getIfPresent(orgId);
108108
if (CollectionUtils.isNotEmpty(activeCbPlans)) {
109109
log.info("Cache hit for orgId: {}, Found {} active CB Plans", orgId, activeCbPlans.size());
110+
isCacheEnabled.set(true);
110111
return activeCbPlans;
111112
}
112113
List<Map<String, Object>> cbPlanList = getCbPlanForOrgId(orgId);

0 commit comments

Comments
 (0)