Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3635

Unnecessary processing in DirectoryWatcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • fileinstall-3.2.4
    • fileinstall-3.2.6
    • File Install
    • None

    Description

      When a DirectoryWatcher is setup to only watch configuration files (e.g. *.cfg), on each scan findBundlesWithOptionalPackagesToRefresh() is called. Since only configuration can change - no bundles, there is no need to call findBundlesWithOptionalPackagesToRefresh(). And the findBundlesWithOptionalPackagesToRefresh() can be expensive since it goes through all bundles in the framework looking for optional imports that can be now satisfied.

      Attachments

        1. FELIX-3635.patch
          2 kB
          Jarek Gawor

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gawor@mcs.anl.gov Jarek Gawor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: