Skip to content

Add retry logic for HTTP fetcher#952

Draft
roger2hk wants to merge 19 commits into
transparency-dev:mainfrom
roger2hk:fetcher-retry
Draft

Add retry logic for HTTP fetcher#952
roger2hk wants to merge 19 commits into
transparency-dev:mainfrom
roger2hk:fetcher-retry

Conversation

@roger2hk
Copy link
Copy Markdown
Contributor

The pull request adds the retry logic for HTTP fetcher. The retry logic allows the following configurations:

  • maximum number of retries
  • initial backoff duration
  • maximum backoff duration

Function Decorator pattern is used with Functional Options Pattern.

The change of the client dependencies will be done in the next pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants