sunspot/sunspot — pull request #198 by nz (2012-03-15 23:06:48+00:00)
Title: Retry failed updates at least once after a 500ms delay.

So, sometimes Solr sends a 503 because it needs a breather. Let's just retry those.

TODO:

- Target 503 errors differently than the rest — what exception is RSolr sending? No sense retrying a 40x.
- Tests
- Wrap this into the default session, because what's the point if nobody uses it?