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

Provide configuration parameters for OptimisticLockRetryInterceptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.52.0.Final
    • None
    • None
    • 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

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: