Skip to content

Commit

Permalink
Merge cfc1b6f into 269f4c3
Browse files Browse the repository at this point in the history
  • Loading branch information
xubo245 committed Nov 2, 2018
2 parents 269f4c3 + cfc1b6f commit 9c68c6e
Show file tree
Hide file tree
Showing 22 changed files with 528 additions and 217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ private void createDictionaryCacheForGivenType(CacheType cacheType) {
*/
private void createLRULevelCacheInstance() {
boolean isDriver = Boolean.parseBoolean(CarbonProperties.getInstance()
.getProperty(CarbonCommonConstants.IS_DRIVER_INSTANCE, "false"));
.getProperty(CarbonCommonConstants.IS_DRIVER_INSTANCE,
CarbonCommonConstants.IS_DRIVER_INSTANCE_DEFAULT));
if (isDriver) {
carbonLRUCache = new CarbonLRUCache(CarbonCommonConstants.CARBON_MAX_DRIVER_LRU_CACHE_SIZE,
CarbonCommonConstants.CARBON_MAX_LRU_CACHE_SIZE_DEFAULT);
Expand Down
Loading

0 comments on commit 9c68c6e

Please sign in to comment.