Lets go
Browse files- controller.py +1 -1
controller.py
CHANGED
@@ -52,7 +52,7 @@ current_langchain_chart_lock = threading.Lock()
|
|
52 |
loop = asyncio.get_running_loop()
|
53 |
|
54 |
# Use a process pool to run CPU-bound chart generation
|
55 |
-
process_executor = ProcessPoolExecutor(max_workers=
|
56 |
|
57 |
# Ensure the cache directory exists
|
58 |
os.makedirs("/app/cache", exist_ok=True)
|
|
|
52 |
loop = asyncio.get_running_loop()
|
53 |
|
54 |
# Use a process pool to run CPU-bound chart generation
|
55 |
+
process_executor = ProcessPoolExecutor(max_workers=10)
|
56 |
|
57 |
# Ensure the cache directory exists
|
58 |
os.makedirs("/app/cache", exist_ok=True)
|