Skip to content

Commit 2efa882

Browse files
author
Derek Bredensteiner
committed
Adding unscribe to available commands for sharding.
1 parent 29214d7 commit 2efa882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sharding.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ unImplementedMethods.forEach(function(command){
271271

272272
// pub / sub
273273
// methods using fn(channel, callback)
274-
['subscribe'].forEach(function(command){
274+
['subscribe','unsubscribe'].forEach(function(command){
275275
RedisShardingClient.prototype[command] =
276276
RedisShardingClient.prototype[command.toUpperCase()] =
277277
function (channel, callback) {

0 commit comments

Comments
 (0)