2009/12/1 Brett Porter <[email protected]>
> These look to be on the hour, which would correlate with the default scanning 
> interval. You can reduce that period as long as you are not relying on 
> detecting the arrival of files on the filesystem from external sources and 
> can wait for certain metadata to be populated.

Using inotify (for Linux) may be interesting.
Inotify is a linux kernel API which trigger events on filesystem changes :
    - file created.
    - file modified.
    - file renamed.
    - file deleted.

This way, Archiva could trigger a "mini-scan" only when it is usefull.

There are 2 projects providing bindings for Java :
http://code.google.com/p/inotify-java/
http://jnotify.sourceforge.net/

Reply via email to