Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2549

ResourceChangeScanner should fail when scanning interval is set to a negative value or 0

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 5.1.0.CR1
    • 5.1.0.M2
    • None
    • None

    Description

      When setting a negative poll interval to ResourceChangeScannerImpl, an exception is thrown when it tries to execute wait().
      It would be better if a runtime exception were thrown when setting an invalid interval value.
      An interval value of 0 should be also considered an invalida value (for performance reasons)

      Attachments

        Activity

          People

            esteban.aliverti@gmail.com Esteban Aliverti (Inactive)
            esteban.aliverti@gmail.com Esteban Aliverti (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty