CodeCommunity commited on
Commit
1159189
·
verified ·
1 Parent(s): f107de5

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -22,7 +22,7 @@ logger = logging.getLogger(__name__)
22
  app = FastAPI(title="GitGud AI Service")
23
 
24
  REPO_CACHE: Dict[str, Dict[str, List[float]]] = {}
25
- executor = ThreadPoolExecutor(max_workers=8)
26
 
27
  class FileRequest(BaseModel):
28
  fileName: str
 
22
  app = FastAPI(title="GitGud AI Service")
23
 
24
  REPO_CACHE: Dict[str, Dict[str, List[float]]] = {}
25
+ executor = ThreadPoolExecutor(max_workers=2)
26
 
27
  class FileRequest(BaseModel):
28
  fileName: str