thread_pool_manager.py 132 B

12345
  1. # -*- coding: utf-8 -*-
  2. from concurrent.futures import ThreadPoolExecutor, wait
  3. pool_executor = ThreadPoolExecutor(max_workers=20)