Skip to content

Commit

Permalink
@Natim review
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Mar 10, 2015
1 parent b09c190 commit 34718a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/get_number_fxa_users.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ function main(callback) {
if (options.db) client.select(options.db);

var multi = client.multi();
multi.keys("userid.*");
multi.keys("hawkuser.*");
multi.eval("return #redis.pcall('keys', 'userid.*')", 0);
multi.eval("return #redis.pcall('keys', 'hawkuser.*')", 0);
multi.exec(function (err, results) {
if (err) throw err;
callback({
total: results[0].length,
count: results[1].length
total: results[0],
count: results[1]
});
});
}
Expand Down

0 comments on commit 34718a2

Please sign in to comment.