wellsaid / app /utils /shared.py
iamspruce
updated fastapi
71192d1
from concurrent.futures import ThreadPoolExecutor
# Shared executor for all CPU-bound tasks
executor = ThreadPoolExecutor(max_workers=4)