Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #980
Closed
Open
Issue created Jun 19, 2018 by Administrator@rootContributor

Ability to backoff with an exact duration

Created by: moltar

Feature Request

Use Case

I am legally scraping an API that is throttled. Once I reach the limit, API announces via HTTP headers when the usage resets. I'd like to be able to delay the job until that time passes instead of some arbitrary number of seconds.

Solution Discussion

Not sure how the API would look like, since there is only the rejection triggers the repeat. I was thinking maybe a special instance of rejection error that could then be passed to the backoff strategy.

Or even just pass any error to the backoff strategy.

Assignee
Assign to
Time tracking