mirror of https://github.com/apache/archiva.git
MRM-1095 - Archiva keeps scanning repositories, even if scanning disabled in the web UI. Submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a8ad14acbd
commit
a0da36af3c
|
@ -207,6 +207,12 @@ public class DefaultArchivaTaskScheduler
|
|||
log.warn( "Skipping job, no cron expression for " + repoConfig.getId() );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !repoConfig.isScanned() )
|
||||
{
|
||||
log.warn( "Skipping job, repository scannable has been disabled for " + repoConfig.getId() );
|
||||
return;
|
||||
}
|
||||
|
||||
// get the cron string for these database scanning jobs
|
||||
String cronString = repoConfig.getRefreshCronExpression();
|
||||
|
|
Loading…
Reference in New Issue