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

Mongo patch seems outdated #167

Open
rubencaro opened this issue Sep 14, 2013 · 0 comments
Open

Mongo patch seems outdated #167

rubencaro opened this issue Sep 14, 2013 · 0 comments

Comments

@rubencaro
Copy link

Hi,

I was trying to make em-synchrony (from goliath) work with the 'official' mongo driver, and found out that the patch applied here https://github.com/igrigorik/em-synchrony/blob/master/lib/em-synchrony/mongo.rb was not working. I guess it was outdated, because there were even classes that were not there.

I got it working with the current last 1.x stable release (many changes for the upcoming 2.0... will need to remake the patch again soon). The patch I came up with is here https://github.com/rubencaro/mongo-em-patch/blob/master/lib/mongo-em-patch.rb

Maybe you want to adapt this patch for em-synchrony, or just fix the issue in some other way.

Also I did not test it much. As you can see, it was just to point an example of a goliath server with mongo through a fiber_connection_pool, so...

Cheers!

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

No branches or pull requests

1 participant