mirror of
https://github.com/apache/archiva.git
synced 2025-03-06 16:39:13 +00:00
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 @@ private synchronized void scheduleRepositoryJobs( ManagedRepositoryConfiguration
|
||||
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…
x
Reference in New Issue
Block a user