[ 
https://issues.apache.org/jira/browse/FELIX-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet closed FELIX-2794.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: fileinstall-3.1.12
         Assignee: Guillaume Nodet
    
> 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
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-3.1.12
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to