Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

events are emiting twice #73

Closed
vetrovosk opened this Issue · 0 comments

2 participants

appr TJ Holowaychuk
appr

Imagine you have two listeners:

jobs.on('job complete', function(id){
// tratata
});

jobs.on('job failed', function(id){
// tratata
});

When job in queue completes, 'job complete' trigger launches twice for that job.
When job in queue failes, 'job failed' trigger launches twice for that job too.

appr vetrovosk referenced this issue from a commit in vetrovosk/kue
appr vetrovosk Fixed multiple event emitting. Closes #73 df7533c
TJ Holowaychuk tj closed this in df7533c
TJ Holowaychuk tj closed this in f23e8e9
Sriti Kumar sriti referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.