Don't queue a request to scan a repository that is currently being scanned
--------------------------------------------------------------------------

                 Key: MRM-414
                 URL: http://jira.codehaus.org/browse/MRM-414
             Project: Archiva
          Issue Type: Improvement
          Components: indexing
    Affects Versions: 1.0-alpha-1
            Reporter: Wendy Smoak
            Priority: Minor


If a repository is currently being scanned when the 'Scan Repository Now' 
button is clicked, don't queue another request to scan it.

Example:

INFO   | jvm 1    | 2007/06/10 21:00:09 | 728900 [SocketListener0-1] INFO 
com.opensymphony.xwork.Action:schedulerAction - [ActionMessage] Your request to 
have repository [central] be indexed has been queued.
INFO   | jvm 1    | 2007/06/10 21:00:09 | 728902 [pool-2-thread-1] INFO 
org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanning - 
Executing task from queue with job name: repository-job:central
INFO   | jvm 1    | 2007/06/10 21:00:09 | 728928 [pool-2-thread-1] INFO 
org.apache.maven.archiva.repository.scanner.RepositoryScanner:default - Walk 
Started: [central] file:/opt/central-repository/

INFO   | jvm 1    | 2007/06/10 21:01:08 | 788035 [SocketListener0-1] INFO 
com.opensymphony.xwork.Action:schedulerAction - [ActionMessage] Your request to 
have repository [central] be indexed has been queued.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to