From 7f62e70128a182567991da8807e3923f94c48882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mai=CC=81ra=20Bello?= Date: Fri, 3 Nov 2023 13:18:04 -0300 Subject: [PATCH] Allow accessing stats instance variables from subclasses --- src/caches/LRUDiskCache.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/caches/LRUDiskCache.ts b/src/caches/LRUDiskCache.ts index f3895d9f..2dd57b0c 100644 --- a/src/caches/LRUDiskCache.ts +++ b/src/caches/LRUDiskCache.ts @@ -12,9 +12,9 @@ export type LRUData = Record & { timeOfDeath: number } export class LRUDiskCache implements CacheLayer{ private lock: ReadWriteLock - private disposed: number - private hits = 0 - private total = 0 + protected disposed: number + protected hits = 0 + protected total = 0 private lruStorage: LRU private keyToBeDeleted: string