dieswaytoofast / erlasticsearch

Erlang thrift interface to elastic_search
45 stars 18 forks source link

Make the retry strategy configurable. #8

Closed AeroNotix closed 10 years ago

AeroNotix commented 10 years ago

The previous behaviour is kept by having the default retry amount to be one, and the retry wait to be zero.

The configurable retry strategy allows for a backing off of retry attempts when network conditions prevent a simple strategy from working.