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

Add timeout to blocking call

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/curit/add-timeout-to-blocking-call into master Apr 13, 2015
  • Overview 6
  • Commits 9
  • Pipelines 0
  • Changes 5

Created by: albertjan

In some edge cases we were seeing clients that haven't been cleaned up correctly and leave a remaining blocking call.

This means the queue won't be reactivated when the next job is added. The job ends up as stalled jobs immediately, because the job is added to the wait list and no handler is called for it.

It has an added bonus bull checks for stalled jobs every 5 seconds this way. 😄

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/curit/add-timeout-to-blocking-call