frontend: custom emojis cache time

This commit is contained in:
fly_mc 2024-12-06 17:45:59 +08:00
parent fe207473cd
commit 726078e9ae

View file

@ -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');