HomePhorge

(PUP-3379) Eliminate extra counter
b3faf52ad231Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3379) Eliminate extra counter

Previously, retries counted down from n to 0, raising when we got to
0. We also have a failures counter going from 0 to n, used to compute
the sleep time.

This commit removes the retries counter, since the check can be
implemented using the failures counter. This commit also simplifies
how the default options are handled, and adds documentation.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU23de3f6a3085: (PUP-3379) Only rescue exceptions we intend to retry
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUb3faf52ad231: (PUP-3379) Eliminate extra counter (authored by Josh Cooper <josh@puppetlabs.com>).Dec 4 2014, 2:13 AM