Retry combinators for monadic actions that may fail.
This package exposes combinators that can wrap arbitrary monadic actions. They run the action and potentially retry running it with some configurable delay for a configurable number of times. The purpose is to make it easier to work with IO and especially network IO actions that often experience temporary failure and warrant retrying of the original action. For example, a database query may time out for a while, in which case we should hang back for a bit and retry the query instead of simply raising an exception.
README
retry - combinators for monadic actions that may fail
About
Monadic action combinators that add delayed-retry functionality, potentially with exponential-backoff, to arbitrary actions.
The main purpose of this package is to make it easy to work reliably with IO and similar actions that often fail. Common examples are database queries and large file uploads.
Documentation
Please see haddocks for documentation.
Changes
See https://github.com/Soostone/retry/blob/master/changelog.md.
Author
Ozgun Ataman, Soostone Inc
Contributors
Contributors, please list yourself here.
- Mitsutoshi Aoe (@maoe)
- John Wiegley
- Michael Snoyman
- Michael Xavier
- Toralf Wittner
- Marco Zocca (@ocramz)