Skip to content

Commit 27aeabb

Browse files
Merge pull request #365 from DevLoversTeam/develop
add TTL
2 parents b90a96a + 03c191b commit 27aeabb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/lib/cache/qa.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getRedisClient } from '@/lib/redis';
22

33
const QA_CACHE_VERSION = 'v3';
4-
const QA_CACHE_TTL_SECONDS = 60 * 30;
4+
const QA_CACHE_TTL_SECONDS = 60 * 60 * 24 * 30;
55

66
type QaCacheKeyInput = {
77
category: string;

0 commit comments

Comments
 (0)