rename queues

This commit is contained in:
Athou
2013-07-21 11:13:26 +02:00
parent 5e575f8ea1
commit 642c780936
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ public class FeedRefreshUpdater {
ApplicationSettings settings = applicationSettingsService.get();
int threads = Math.max(settings.getDatabaseUpdateThreads(), 1);
log.info("Creating database pool with {} threads", threads);
pool = new FeedRefreshExecutor("FeedRefreshUpdater", threads, 500 * threads);
pool = new FeedRefreshExecutor("feed-refresh-updater", threads, 500 * threads);
locks = Striped.lazyWeakLock(threads * 100000);
}

View File

@@ -53,7 +53,7 @@ public class FeedRefreshWorker {
ApplicationSettings settings = applicationSettingsService.get();
int threads = settings.getBackgroundThreads();
log.info("Creating refresh worker pool with {} threads", threads);
pool = new FeedRefreshExecutor("FeedRefreshUpdater", threads,
pool = new FeedRefreshExecutor("feed-refresh-worker", threads,
20 * threads);
}