Use default AnyIO pool size

This commit is contained in:
Juan Calderon-Perez
2025-04-18 19:21:54 -04:00
committed by GitHub
parent f77f6cd1e2
commit 62f87c2e38

View File

@@ -1204,7 +1204,7 @@ ENABLE_USER_WEBHOOKS = PersistentConfig(
)
# FastAPI / AnyIO settings
THREAD_POOL_SIZE = int(os.getenv("THREAD_POOL_SIZE", "64"))
THREAD_POOL_SIZE = int(os.getenv("THREAD_POOL_SIZE", "0"))
def validate_cors_origins(origins):