wellsaid / app /utils /shared.py
Spruceemmadev's picture
updated fastapi
71192d1
Raw
History Blame Contribute Delete
137 Bytes
from concurrent.futures import ThreadPoolExecutor
# Shared executor for all CPU-bound tasks
executor = ThreadPoolExecutor(max_workers=4)