From f8682376cba08fd8172708e0607c8590e34504b6 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Mon, 17 Jan 2022 19:04:35 +0100 Subject: [PATCH] Change cache time --- app/Utils/SongUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/SongUtils.ts b/app/Utils/SongUtils.ts index 46d0bfd..ec41d21 100644 --- a/app/Utils/SongUtils.ts +++ b/app/Utils/SongUtils.ts @@ -192,7 +192,7 @@ export async function fetchTopArtist(): Promise { cached: new Date().toUTCString(), expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(), top: artists, - }), 'ex', 600) + }), 'ex', 300) return artists }