Update upstash module to fix typing

This commit is contained in:
Samy Pessé
2023-12-19 10:11:58 +01:00
parent 196e8bcfc0
commit e903bb7752
3 changed files with 1 additions and 4 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -19,7 +19,7 @@
"@radix-ui/react-popover": "^1.0.7",
"@readme/openapi-parser": "^2.5.0",
"@tailwindcss/container-queries": "^0.1.1",
"@upstash/redis": "^1.25.1",
"@upstash/redis": "^1.27.1",
"ajv": "^8.12.0",
"assert-never": "^1.2.1",
"bun-types": "^1.0.7",
-3
View File
@@ -37,10 +37,7 @@ export const redisCache: CacheBackend | null = redis
multi.sadd(redisTagKey, redisKey);
// Set am expiration on the tag to be the maximum of the expiration of all keys
// @ts-ignore - https://github.com/upstash/upstash-redis/issues/789
multi.expire(redisTagKey, expire, 'GT');
// @ts-ignore
multi.expire(redisTagKey, expire, 'NX');
});