Change cache time

This commit is contained in:
2022-01-17 19:04:35 +01:00
parent f4aced41d9
commit f8682376cb

View File

@@ -192,7 +192,7 @@ export async function fetchTopArtist(): Promise<SpotifyArtist[]> {
cached: new Date().toUTCString(),
expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(),
top: artists,
}), 'ex', 600)
}), 'ex', 300)
return artists
}