Skip to content

Commit

Permalink
outgoingEnqueueCombi
Browse files Browse the repository at this point in the history
  • Loading branch information
behrad committed Aug 19, 2017
1 parent 4560c1f commit fae7d80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions aedes.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ function DoEnqueues () {
that.complete = null
that.topic = null

broker._parallel(
status,
doEnqueue, subs, complete)
broker.persistence.outgoingEnqueueCombi(subs, status.packet, complete)

broker._enqueuers.release(that)
}
Expand All @@ -207,10 +205,6 @@ function removeSharp (sub) {
return code !== 43 && code !== 35
}

function doEnqueue (sub, done) {
this.broker.persistence.outgoingEnqueue(sub, this.packet, done)
}

function callPublished (_, done) {
this.broker.published(this.packet, this.client, done)
this.broker.emit('publish', this.packet, this.client)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"aedes-packet": "^1.0.0",
"aedes-persistence": "^4.0.0",
"aedes-persistence": "^5.1.1",
"bulk-write-stream": "^1.0.0",
"end-of-stream": "^1.1.0",
"fastfall": "^1.0.0",
Expand Down

0 comments on commit fae7d80

Please sign in to comment.