Add parameters for thread pool size