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

fix(repeat): prevent repeat limit reset

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Thore1954 requested to merge github/fork/Thore1954/fix-repeat-limit-reset into develop Mar 16, 2023
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 2

There is a bug with #852 where the counter would reset when app is restarted after limit is reached. In other words, after a repeatable job with limit is added and is repeated until exhaustion, if app is restarted the repeatable job is added again with counter reset to 1 and is repeated again.

I have updated the corresponding test to reflect this bug. The fix is quite easy, just skip adding the repeatable job if it is already added.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Thore1954/fix-repeat-limit-reset