modify the thread pool config