From cc45cc9ac1d0afbe4844c34b13dd4a65dd523be1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Mar 2022 11:34:15 +0100 Subject: Remove uneeded memoize --- server/initializers/constants.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server/initializers/constants.ts') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 3069e2353..7bc2877aa 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -718,12 +718,10 @@ 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 - MD_TO_PLAIN_TEXT_CLIENT_HTML: 1000 * 60 // 1 minute + LIVE_CHECK_SOCKET_HEALTH: 1000 * 60 // 1 minute } const MEMOIZE_LENGTH = { - MD_TO_PLAIN_TEXT_CLIENT_HTML: 100, INFO_HASH_EXISTS: 200 } -- cgit v1.2.3