Node.js based forum software built for the modern web
feat: remove max age since cache is cleared when thumbs change
Barış Soner Uşaklıab96f526d625
diff --git a/src/topics/thumbs.js b/src/topics/thumbs.jsindex 75e023fb0c..e8709a46b4 100644--- a/src/topics/thumbs.js+++ b/src/topics/thumbs.js@@ -50,7 +50,7 @@ async function getThumbs(set) {return cached.slice();}const thumbs = await db.getSortedSetRange(set, 0, -1);- cache.set(set, thumbs, 600000);+ cache.set(set, thumbs);return thumbs.slice();}