Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merged

  • Loading branch information...
commit b5687187e5c828488e5f972cae42e7aaf217d4ef 2 parents b7f8d3b + f23e8e9
@tj tj authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/queue/events.js
View
1  lib/queue/events.js
@@ -44,6 +44,7 @@ exports.add = function(job){
*/
exports.subscribe = function(){
+ if (exports.subscribed) return;
var client = redis.pubsubClient();
client.subscribe(exports.key);
client.on('message', exports.onMessage);
Please sign in to comment.
Something went wrong with that request. Please try again.