Soumik555 commited on
Commit
9c9dfbd
·
1 Parent(s): 0cc27c7
Files changed (1) hide show
  1. 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=14)
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)