// See https://bugzilla.redhat.com/show_bug.cgi?id=1084626 for details
if (numWorkers < 2) {
numWorkers = 2;
}
threadPool = new ThreadPoolExecutor(numWorkers, numWorkers, 30, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>(), new StorageClientThreadFactory("AggregationTasks"));
aggregationTasks = MoreExecutors.listeningDecorator(threadPool);
}