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
  • #401
Closed
Open
Issue created Dec 04, 2016 by Administrator@rootContributor

mixing getJobCountByTypes including paused yields 0

Created by: jamesjjk

We are in the process of replacing Kue with Bull and so far so good. However we noticed whilst implementing repeatable jobs that when we yield getJobCountsByType and include 'paused' the result yields 0 whilst there are delayed and active jobs present.

const count = yield _queue.getJobCountByTypes('paused', 'delayed', 'wait', 'active');
//RETURNS 0 (expected positive int)
const count = yield _queue.getJobCountByTypes('delayed', 'wait', 'active');
//RETURNS positive int
Assignee
Assign to
Time tracking