wellsaid / app /utils /shared.py
iamspruce
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)