lib/thinking_sphinx/search.rb in friendlyfashion-thinking-sphinx-2.0.13 vs lib/thinking_sphinx/search.rb in friendlyfashion-thinking-sphinx-2.0.13.1

- old
+ new

@@ -632,10 +632,10 @@ block.call rescue ThinkingSphinx::SphinxError => e raise unless e.message.include? "index not preread" attempt += 1 - if attempt > 0 + if attempt > 3 raise else retry end end