diff options
author | Brett Porter <brett@apache.org> | 2006-09-09 15:51:32 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2006-09-09 15:51:32 +0000 |
commit | 9dd5b3e9880fbbf3ae5bf5072edc61446587206e (patch) | |
tree | 47b5f66210375cd526b7ed95ad427e7176896858 /archiva-core | |
parent | 1a3026414e9a5c3a02d3bbb31fbf92fc388600f5 (diff) | |
download | archiva-9dd5b3e9880fbbf3ae5bf5072edc61446587206e.tar.gz archiva-9dd5b3e9880fbbf3ae5bf5072edc61446587206e.zip |
clarify some TODO elements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-core')
-rw-r--r-- | archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java index 3db17e8ed..bee12f078 100644 --- a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java +++ b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java @@ -97,7 +97,7 @@ public class DefaultRepositoryTaskScheduler private void scheduleJobs( Configuration configuration ) throws ParseException, SchedulerException { - // TODO! would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo) + // TODO: would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo) if ( configuration.getIndexPath() != null ) { JobDetail jobDetail = createJobDetail( INDEXER_JOB, indexerTask ); @@ -107,7 +107,7 @@ public class DefaultRepositoryTaskScheduler new CronTrigger( INDEXER_JOB + "Trigger", DISCOVERER_GROUP, configuration.getIndexerCronExpression() ); scheduler.scheduleJob( jobDetail, trigger ); - // TODO: run as a job so it doesn't block startup/configuration saving! + // TODO: run as a job so it doesn't block startup/configuration saving try { indexerTask.executeNowIfNeeded(); |