Bug Fixes (BREAKING)
-
Rename
Exponential
backoff toQuadratic
Thegix_utils::backoff::Exponential
type actually implemented
quadratic, not exponential, backoff. This renames it from
Exponential
toQuadratic
.In exponential backoff, delays are a fixed base, often 2, raised to
a power of a number that increases by one with each attempt. When
the number that increases by one with each attempt is the base,
raised to a fixed power, that is quadratic backoff.The intended behavior here was quadratic, as implemented. For
example, in the tests,EXPECTED_TILL_SECOND
lists the values 1,
4, 9, 16, 25, 36, 49, 64, 81, 100, and so on, which are ascending
squares. If they were an exponential sequence, then they would look
like 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, and so on.Thus, it is only the named that needed to be changed: the
implementation was already as intended.
Commit Statistics
- 4 commits contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages