tweak cache lifetime
This commit is contained in:
parent
36bcaaff55
commit
202e943d55
|
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添付用絵文字情報
|
* 添付用絵文字情報
|
||||||
|
|
Loading…
Reference in New Issue