fix: switch back to getSortedSetRange

/cc @barisusakli
v1.18.x
Julian Lam 4 years ago
parent ce3f581434
commit 8686fbfa3f

@ -64,7 +64,7 @@ async function getThumbs(set) {
if (cached !== undefined) {
return cached.slice();
}
const thumbs = await db.getSortedSetRangeByScore(set, 0, -1, '-inf', '+inf');
const thumbs = await db.getSortedSetRange(set, 0, -1);
cache.set(set, thumbs);
return thumbs.slice();
}

Loading…
Cancel
Save