Job retries should never be negative

XMLWordPrintable

      If a failing job is executed even if the retries already are 0 the retry count will become negative. Although this job should never be executed it is a good idea to actively prevent a negative retry count because often the retries count is exactly tested to be equal 0.

      AT:

      • in JobEntity the setRetries method performs a < 0 check
      • no direct access of the JobEntity.retries fieldt

            Assignee:
            Daniel Meyer
            Reporter:
            Sebastian Menski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: