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
  • Merge requests
  • !1066

Add processOne method to the library

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/cbjuan/add-processOnce into develop Sep 27, 2018
  • Overview 3
  • Commits 15
  • Pipelines 0
  • Changes 6

Created by: cbjuan

As discussed in #519, #892 (closed) and across different commits, the Bull library lacks a method to process the queue consuming individual jobs instead of doing the same retrieving all the jobs available sequentially.

This PRs proposes a processOne method to do this task, allowing users to retrieve one job from the queue in each call for the function. To implement this, we have continued some methods yet available in Bull as described in https://github.com/OptimalBits/bull/issues/519#issuecomment-421407186, https://github.com/OptimalBits/bull/issues/519#issuecomment-422060733, and https://github.com/OptimalBits/bull/issues/519#issuecomment-422790555

@pacomf, @jelcaf and me co-author this PR.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/cbjuan/add-processOnce