boundary / folsom

Expose Erlang Events and Metrics
Apache License 2.0
586 stars 166 forks source link

Let the slide server crash and stay crashed after multiple errors #57

Closed russelldb closed 11 years ago

russelldb commented 11 years ago

The restart strategy on the slide server was such that it would never stop in the case that the ets table it was trimming went away. Instead it would metronimically add a crash message to your log every 30 seconds. This commit sets the restart strategy to 3 failures in 3 minutes. Since the only seen live examples of a slide server crash have been when the ets table has gone away, it is best crash and stay dead than be restarted after 3 failed trims.