Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- 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=
|
| 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
|