From f7ac03ee94d9d32e26bd712e8dc05a6109f5e835 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 15:13:56 +0100 Subject: Fix client html performance regression --- server/initializers/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/initializers/constants.ts') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 4d2a6fc63..2367e7689 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -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 } -- cgit v1.2.3