Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a very simple loop based outgoingEnqueueCombi base #9

Merged
merged 2 commits into from
Jul 21, 2017

Conversation

behrad
Copy link
Contributor

@behrad behrad commented Jul 19, 2017

No description provided.

index.js Outdated
if (count === subs.length && !errord) {
cb()
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be pretty hot. Can you use fastparallel?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only for persistences that don't override outgoingEnqueueCombi ! BUT for sure :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like this to stay on par with what we had in aedes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it look good now @mcollina ?

@mcollina
Copy link
Collaborator

I've just noticed that there are no test for outgoingEnqueueCombi, can you add them in another PR?

@behrad
Copy link
Contributor Author

behrad commented Jul 20, 2017

Sure, I should update aedes-persistence tests

@behrad
Copy link
Contributor Author

behrad commented Jul 21, 2017

@mcollina mcollina merged commit 5cb58bd into moscajs:master Jul 21, 2017
@mcollina
Copy link
Collaborator

The tests added in aedes-persistence 5.0.1 fails here, I can't release.

@behrad
Copy link
Contributor Author

behrad commented Jul 21, 2017

let me check it

@behrad
Copy link
Contributor Author

behrad commented Jul 21, 2017

I was trying to use aedes' fastparallel instance! However I think I should create one here

@behrad
Copy link
Contributor Author

behrad commented Jul 21, 2017

#10 @mcollina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants