Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13366

Drive: max_loops parameter in Synchronizer.loop() doesn't represent the real number of iterations executed

    XMLWordPrintable

    Details

      Description

      Indeed, setting max_loops=1 will actually perform 2 loops due to:

      if (max_loops is not None and loop_count > max_loops):
      

      which should in fact be replaced by:

      if (max_loops is not None and loop_count >= max_loops):
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.