We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee8662 commit 6bb0fe2Copy full SHA for 6bb0fe2
tests/redis.test.ts
@@ -21,7 +21,7 @@ type Person = {
21
};
22
23
class CachedPersonCreator {
24
- @CacheOptions({selector: '0.name', ttl: 1000})
+ @CacheOptions('0.name', 10_000)
25
static async createPerson(person: Person) {
26
console.log('Person created!!!!!');
27
return person;
0 commit comments