It could be done. I will play with it :)
Cheers On Feb 16, 8:58 am, Pat Allan <[email protected]> wrote: > Hi Piotr > > It seems like a nice idea - and great to see you've got some commits > done already - but I'm not a fan of relying on outside libraries > unless it's really truly necessary. > > If you or others can suggest an unobtrusive way to take advantage of > daemon controller if the user has it installed, I'm willing to listen. > > Cheers > > -- > Pat > > On 14/02/2009, at 9:00 PM, Piotr Sarnacki wrote: > > > > > Hi, > > > While deploying one of applications on unstable server (client's > > server - don't ask ;-) I saw some connection errors in logs. searchd > > was monitored by monit and starting scripts were added to cron, but > > even with that, there were a few situations when riddle was trying to > > connect and searchd was down. It was especially bad for delta indexing > > - updates are pretty frequent. > > > My thought was: "deamon controller would be great for that!" > >http://blog.phusion.nl/2008/08/25/daemon_controller-a-library-for-rob... > > > I've created branch daemon_controller on both riddle and ts forks and > > added daemon controller support: > >http://github.com/drogus/riddle/commit/79e858d894a8efbce6d35c5350db93... > >http://github.com/drogus/thinking-sphinx/commit/8ed55e2716c59a3890cbe... > > > With these commits you can do Article.search "foo" without searchd > > running (or even without running ts:config and ts:index) and it will > > wait for searchd to start. > > > If this could be merged to thinking sphinx, but is not properly done > > please give any thoughts on what to change or implement it better :) > > > Cheers :) > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
