upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics

This commit is contained in:
Baris Soner Usakli
2014-02-14 14:03:54 -05:00
parent 8506819a7d
commit 1e44ca3a0f
5 changed files with 53 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ var winston = require('winston'),
ThreadTools.exists = function(tid, callback) {
db.isSetMember('topics:tid', tid, function(err, ismember) {
db.isSortedSetMember('topics:tid', tid, function(err, ismember) {
if (err) {
callback(false);