v1.18.x
Barış Soner Uşaklı 10 years ago
parent 5ac5d20e4b
commit 126f3182fd

@ -191,9 +191,9 @@ var async = require('async'),
if (set === 'users:online') {
var count = parseInt(stop, 10) === -1 ? stop : stop - start + 1;
var now = Date.now();
db.getSortedSetRevRangeByScore(set, start, count, now, now - 300000, next);
db.getSortedSetRevRangeByScore(set, start, count, now, now - 300000, callback);
} else {
db.getSortedSetRevRange(set, start, stop, next);
db.getSortedSetRevRange(set, start, stop, callback);
}
};

Loading…
Cancel
Save