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; }