From 726078e9ae56a5cd4e02d98b696965f284532235 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Fri, 6 Dec 2024 17:45:59 +0800 Subject: [PATCH] frontend: custom emojis cache time --- packages/frontend/src/custom-emojis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/custom-emojis.ts b/packages/frontend/src/custom-emojis.ts index 4009ed703..95241fb8e 100644 --- a/packages/frontend/src/custom-emojis.ts +++ b/packages/frontend/src/custom-emojis.ts @@ -8,7 +8,7 @@ import * as Misskey from 'misskey-js'; import { misskeyApi, misskeyApiGet } from '@/scripts/misskey-api.js'; import { get, set } from '@/scripts/idb-proxy.js'; -const CACHE_EXPIRE_TIME = 60 * 60 * 1000; +const CACHE_EXPIRE_TIME = 12 * 60 * 60 * 1000; const BATCH_SIZE = 1000; const storageCache = await get('emojis');