lyc8503 3 лет назад
Родитель
Сommit
aa63d1ce0d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backend_refactor/pool/thread_pool.py

+ 1 - 1
backend_refactor/pool/thread_pool.py

@@ -1,3 +1,3 @@
 from concurrent.futures import ThreadPoolExecutor
 
-pool = ThreadPoolExecutor()
+pool = ThreadPoolExecutor(max_workers=3)