freelancing-god/thinking-sphinx — pull request #350 by hunterae (2012-04-17 18:59:58+00:00)
Title: hard_retry_count feature

Added ability to specify :hard_retry_count parameter to searches that tells ruby how many times to retry a sphinx query if it catches any kind of exception:

Model.search :hard_retry_count => 3

The default is 0, but it can be overridden in an initializer method as follows:
ThinkingSphinx::Search::HARD_RETRY_COUNT = 3