bdurand/seamless_database_pool — pull request #9 by stijnster (2012-11-29 12:52:16+00:00)
Title: Making Seamless Database Pool work with Thinking Sphinx

Hi there,

thanks for your wonderful gem! Up until yesterday we were struggling with a single mysql node and had a lot of headaches. But now we're running our backend processes on one node/server and the frontend on the other in a master/slave config. And it seems to work beautiful together.

One tiny issue that we had, is that we are using Thinking Sphinx to index our database for search. When I tried to integrate both TS and SDP, I ran into some problems.

It turns out TS searches for some configuration options on the database connection, and the type of datastore that is being used.

I forked your repo and made the necessary changes. The changes implemented choose some logical defaults.

If you have some time, would you mind reviewing (or maybe even consider merging) my changes?

Best regards,

Stijn