Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add download.retry field #22

Open
andykais opened this issue May 15, 2019 · 0 comments
Open

add download.retry field #22

andykais opened this issue May 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@andykais
Copy link
Owner

schema:

interface RetryInterface {
  limit?: number // defaults to zero
  retryOnStatusCodes: number[] // defaults to [202, 503, 429, 504]
  delay?: number // defaults to zero
}
type Retry = number | RetryInterface
interface DownloadConfigInit {
  ...
  retry: Retry | undefined
}

Investigate putting logic inside and outside observable.

investigate possibility of retrying page based solely on parsed content. E.g. if page has title "Too Many Retries" then retry same as regular retry (note would vastly change the api and should be thought about in a broader sense)

@andykais andykais added the enhancement New feature or request label May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant