Skip to main content

An execution policy for Pyramid that supports retrying requests after certain failure exceptions.

Project description

https://img.shields.io/pypi/v/pyramid_retry.svg https://img.shields.io/travis/Pylons/pyramid_retry/master.svg Documentation Status

pyramid_retry is an execution policy for Pyramid that wraps requests and can retry them a configurable number of times under certain “retryable” error conditions before indicating a failure to the client.

See http://docs.pylonsproject.org/projects/pyramid-retry/en/latest/ or docs/index.rst in this distribution for detailed documentation.

0.4 (2017-06-12)

0.3 (2017-04-10)

0.2 (2017-03-02)

  • Change the default attempts to 3 instead of 1.

  • Rename the view predicates to is_last_attempt and is_exc_retryable.

  • Drop support for the tm.attempts setting.

  • The retry.attempts setting is always set now in registry.settings['retry.attempts'] so that apps can inspect it.

0.1 (2017-03-01)

  • Initial release.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page