Skip to content

Commit d6791ac

Browse files
authored
fix(techniques): caching
1 parent c3369ce commit d6791ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ import { CacheableMemory } from 'cacheable';
249249
new Keyv({
250250
store: new CacheableMemory({ ttl: 60000, lruSize: 5000 }),
251251
}),
252-
new KeyvRedis('redis://localhost:6379'),
252+
new Keyv(new KeyvRedis('redis://localhost:6379')),
253253
],
254254
};
255255
},

0 commit comments

Comments
 (0)