Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9656

Provide configuration parameters for OptimisticLockRetryInterceptor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.52.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      it would be good to have configuration options available to control the behavior of the OptimisticLockRetryInterceptor:

      • retries
      • delay
      • delayFactor

      This would allow users to configure the retry logic as they see fit. Thanks!

      Created new flags

          private int retries = Integer.getInteger("org.kie.optlock.retries", 5);
          private long delay = Long.getLong("org.kie.optlock.delay", 50L);
          private long delayFactor = Long.getLong("org.kie.optlock.delayFactor", 4L);
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              elguardian Enrique González Martínez
              Reporter:
              elguardian Enrique González Martínez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: