MCPcopy Create free account
hub / github.com/code100x/daily-code / constructor

Method constructor

apps/web/lib/cache/redis-cache.ts:9–11  ·  view source on GitHub ↗
(redisUrl: string)

Source from the content-addressed store, hash-verified

7 private static instance: RedisCache;
8
9 constructor(redisUrl: string) {
10 this.client = new Redis(redisUrl);
11 }
12
13 static getInstance(redisUrl: string): RedisCache {
14 if (!this.instance) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected