github GitoxideLabs/gitoxide gix-utils-v0.2.0
gix-utils v0.2.0

one day ago

Bug Fixes (BREAKING)

  • Rename Exponential backoff to Quadratic
    The gix_utils::backoff::Exponential type actually implemented
    quadratic, not exponential, backoff. This renames it from
    Exponential to Quadratic.

    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

Commit Details

view details
  • Uncategorized
    • Update changelogs prior to release (38dff41)
    • Merge pull request #1815 from EliahKagan/quadratic (ffb73b5)
    • Rename Exponential backoff to Quadratic (d737c4a)
    • Merge pull request #1778 from GitoxideLabs/new-release (8df0db2)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.