Skip to content

Commit

Permalink
parityDel lua script params
Browse files Browse the repository at this point in the history
parityDel lua only uses one key, the other variable should be ARGV
  • Loading branch information
vedraan committed Nov 1, 2014
1 parent 44bf022 commit 36355b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/warlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = function(redis){
function(err, parityDel){
if (err) return cb(err);

return parityDel.run(2, warlock.makeKey(key), id, cb);
return parityDel.run(1, warlock.makeKey(key), id, cb);
}
);
};
Expand Down

0 comments on commit 36355b8

Please sign in to comment.