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

fix: clamp negative job delay values to 0 to prevent thrashing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/harris-m/develop into develop Apr 22, 2020
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: harris-m

Fixes #1705 (closed) , see issue page for explanation of the trashing issue

This pull request fixes the issue by clamping the delay on new jobs to 0 when the delay is set to a negative value. I noticed that the delay is clamped in this manner elsewhere in the codebase so it seems like a safe way to fix the issue.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/harris-m/develop