noInitialDelay is not correctly implemented
-------------------------------------------

                 Key: FELIX-2794
                 URL: https://issues.apache.org/jira/browse/FELIX-2794
             Project: Felix
          Issue Type: Bug
          Components: File Install
    Affects Versions: fileinstall-3.1.4
            Reporter: Sahoo


The documentation [1] says:
felix.fileinstall.noInitialDelay        false   Determines if File Install 
waits felix.fileinstall.poll milliseconds before doing an initial scan or not.

But, the code in DirectoryWatcher.java shows that watcher thread scans as soon 
as it gets to run: 
    public void run()
    {
        ...
        if (!noInitialDelay)
        {
            initializeCurrentManagedBundles();
        }

        while (!interrupted())
        {
                    ...
                    Set/*<File>*/ files = scanner.scan(false);
                    ...
        }
    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to