Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Merge 8245c9e into ad323e2
Browse files Browse the repository at this point in the history
  • Loading branch information
behrad committed Jun 13, 2015
2 parents ad323e2 + 8245c9e commit ba9f655
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/persistence/redis.js
Expand Up @@ -104,7 +104,9 @@ function RedisPersistence(options, callback) {
}

Object.keys(subs).forEach(function(sub) {
that._subMatcher.add(sub, id);
if (that._subMatcher.match(sub).indexOf(id) < 0) {
that._subMatcher.add(sub, id);
}
});

var redisError = null;
Expand Down

0 comments on commit ba9f655

Please sign in to comment.