mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 20:20:35 +00:00
Update upstash module to fix typing
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
Vendored
-3
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user