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
  • #1628
Closed
Open
Issue created Jan 30, 2020 by Administrator@rootContributor

re enqueue job as the first element in the :waiting list

Created by: nicosefer

Description

Hi @manast ! First of all, thanks for this awesome library!

When a job fails (with N attempts and backoff = 0 ) it gets re-enqueued on the :waiting list as the last item to be processed (left-side in a FIFO queue). We have a pool of workers that processes jobs from different queues in a round-robin approach and we need to re-process that failed job in the next iteration. Is there any way to put that job as the first (right-side) element in the waiting list ?

Thanks in advance for your time and support!

Assignee
Assign to
Time tracking