tweak cache lifetime

This commit is contained in:
syuilo 2021-03-22 12:46:46 +09:00
parent 36bcaaff55
commit 202e943d55

View File

@ -6,7 +6,7 @@ import { Cache } from './cache';
import { isSelfHost, toPunyNullable } from './convert-host'; import { isSelfHost, toPunyNullable } from './convert-host';
import { decodeReaction } from './reaction-lib'; import { decodeReaction } from './reaction-lib';
const cache = new Cache<Emoji | null>(1000 * 60 * 60); const cache = new Cache<Emoji | null>(1000 * 60 * 60 * 12);
/** /**
* *