Node.js based forum software built for the modern web
fix: postgres is slow:tm:
Julian Lam05dd859714d2
diff --git a/src/topics/thumbs.js b/src/topics/thumbs.jsindex 09c60f77e4..8a86aeb885 100644--- a/src/topics/thumbs.js+++ b/src/topics/thumbs.js@@ -51,7 +51,7 @@ Thumbs.associate = async function ({ id, path: relativePath, url }) {value = value.replace(nconf.get('upload_path'), '');}- db.sortedSetAdd(set, numThumbs, value);+ await db.sortedSetAdd(set, numThumbs, value);// Associate thumbnails with the main pid (only on local upload)if (!isDraft && relativePath) {