Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

events are emiting twice #73

Closed
vetrovosk opened this Issue · 0 comments

2 participants

@vetrovosk

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.

@vetrovosk vetrovosk referenced this issue from a commit in vetrovosk/kue
@vetrovosk vetrovosk Fixed multiple event emitting. Closes #73 df7533c
@tj tj closed this in df7533c
@tj tj closed this in f23e8e9
@sriti 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.