tune max batchsize to thread count in aggregator executor.