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

Repeatable jobs duplication

Created by: cloudever

Description

The number of repeatable jobs increases with each reboot of the server. The processor processes also those that were before the restart and so number of processings increases with each restart. I understand that on server startup the new jobs created by the server but all names keeps unique.

How to avoid that or it's a bug?

Minimal, Working Test code to reproduce the issue.

I had a job create so

queue.add(FETCH_QUOTES_QUEUE, data, {
  repeat: {
    every: 2000
  },
})

and the corresponding processor

queue.process(FETCH_QUOTES_QUEUE, (job, done) => {
  ....
  done()
})

Bull version

3.4.3

Additional information

In the beginning I didn't used any contants for job and processor names but issue was.

Assignee
Assign to
Time tracking