From b9ec201c84509905659f94a045f8c831f0aa5a97 Mon Sep 17 00:00:00 2001 From: Ashishprasa Date: Sun, 31 Dec 2023 11:49:19 +0530 Subject: [PATCH] fix linting error --- src/backend/metadata/search.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/metadata/search.ts b/src/backend/metadata/search.ts index eb923056..0573625e 100644 --- a/src/backend/metadata/search.ts +++ b/src/backend/metadata/search.ts @@ -33,8 +33,8 @@ export async function searchForMedia(query: MWQuery): Promise { } return 0; }); - - cache.set(query, results, 3600); + // cache results for 1 hour + cache.set(query, results, 3600); return results; }