display app version

This commit is contained in:
Athou
2013-07-21 11:40:32 +02:00
parent 9a124db32d
commit 60c64ce900
11 changed files with 82 additions and 25 deletions

View File

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

View File

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