Skip to content

@livepeer/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 00:19
· 69 commits to main since this release
9d7185c

Patch Changes

  • #505 0875372 Thanks @0xcadams! - Feature: added backoff and backoffMax to the Player, which defines the time which the Player waits before attempting, as well as the cap for exponential backoff.

    /**
     * Controls the initial value for exponential backoff, in ms. Defaults to 500ms, which is subsequently multiplied by 2^n power on each error.
     */
    backoff: number;
    
    /**
     * Controls the maximum backoff when an error is encountered, in ms. Defaults to 30s.
     */
    backoffMax: number;