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
  • #983
Closed
Open
Issue created Jun 20, 2018 by Administrator@rootContributor

Fix errors when removing jobs in priority queues

Created by: cbjuan

Description

Removing jobs and cleaning queues when using priority queues break the queue order since some internal queues are not removed when needed.

Minimal, Working Test code to reproduce the issue.

  • File removeJob-7.lua should be renamed to removeJob-9.lua and lacks ZREM for 'priority' and 'id' keys.
  • File queue.js lacks of keys 'priority' and 'id' in multi.del(this.toKey()) statement
  • File scripts.js. In remove() method must be included the keys 'priority' and 'id' to the map

Bull version

3.4.2

Additional information

Opening a new PR to solve these issues

Assignee
Assign to
Time tracking