Fix client html performance regression

This commit is contained in:
Chocobozzz
2022-02-28 15:13:56 +01:00
parent 70a8e50a5d
commit f7ac03ee94
3 changed files with 16 additions and 6 deletions
+3 -1
View File
@@ -718,10 +718,12 @@ const MEMOIZE_TTL = {
OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours
INFO_HASH_EXISTS: 1000 * 3600 * 12, // 12 hours
LIVE_ABLE_TO_UPLOAD: 1000 * 60, // 1 minute
LIVE_CHECK_SOCKET_HEALTH: 1000 * 60 // 1 minute
LIVE_CHECK_SOCKET_HEALTH: 1000 * 60, // 1 minute
MD_TO_PLAIN_TEXT_CLIENT_HTML: 1000 * 60 // 1 minute
}
const MEMOIZE_LENGTH = {
MD_TO_PLAIN_TEXT_CLIENT_HTML: 100,
INFO_HASH_EXISTS: 200
}