()
| 373 | |
| 374 | class RuntimeCacheService { |
| 375 | constructor() { |
| 376 | this.store = createRedisStore(); |
| 377 | this.inFlight = new Map(); |
| 378 | this.debugEnabled = RUNTIME_CACHE_DEBUG_ENABLED; |
| 379 | this.debugLog("initialized", { |
| 380 | backend: this.store.backend || "unknown", |
| 381 | envPrefix: this.store.envPrefix || "CB_REDIS", |
| 382 | config: RUNTIME_CACHE_CONFIG, |
| 383 | }); |
| 384 | } |
| 385 | |
| 386 | debugLog(event, payload = {}) { |
| 387 | if (!this.debugEnabled) return; |
nothing calls this directly
no test coverage detected