Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10557

Async persist service on error no restart by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: 18.12.01
    • Component/s: framework
    • Labels:
      None

      Description

      Related to the discussion on dev I will turn off by default the indefinitely restart when a service async failed.

      When a service run by async with persistence, the default value set on jobsandbox.maxRetry is 0 instead of -1 before.

      If you want run indefinitely an async service while isn't a success, set on your service definition max-retry="-1".

        Attachments

        1. OFBIZ-10557-test.patch
          2 kB
          Nicolas Malin

          Activity

            People

            • Assignee:
              nmalin Nicolas Malin
              Reporter:
              nmalin Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: