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
  • !34

Should restart the queue if Redis recovers from an error

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/9point6/feature-restart-on-redis-restart into master Apr 02, 2014
  • Overview 5
  • Commits 2
  • Pipelines 0
  • Changes 3

Created by: 9point6

For example, if the Redis server daemon restarts, the node client library automatically reconnects. However, Bull doesn't listen on the errors which causes an exception to be thrown and either the application to exit (if uncaught) or require the user to set up a new bull instance.

This pull request emits any Redis errors from the bull instance and also attempts to restart the queue if Redis restarts.

Does this look good, or is there a better solution?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/9point6/feature-restart-on-redis-restart