Soumik Bose commited on
Commit ·
2c48def
1
Parent(s): e8c4183
added libs
Browse files- controller.py +1 -1
controller.py
CHANGED
|
@@ -469,7 +469,7 @@ async def batch_execute_mongo(payload: BatchRequest[ExecutorPayload], token: str
|
|
| 469 |
if __name__ == "__main__":
|
| 470 |
import uvicorn
|
| 471 |
host = os.getenv("HOST", "0.0.0.0")
|
| 472 |
-
port = int(os.getenv("PORT",
|
| 473 |
|
| 474 |
# Scale processes: 16 Cores - 2 = 14 Workers
|
| 475 |
num_workers = max(1, multiprocessing.cpu_count() - 2)
|
|
|
|
| 469 |
if __name__ == "__main__":
|
| 470 |
import uvicorn
|
| 471 |
host = os.getenv("HOST", "0.0.0.0")
|
| 472 |
+
port = int(os.getenv("PORT", 7860))
|
| 473 |
|
| 474 |
# Scale processes: 16 Cores - 2 = 14 Workers
|
| 475 |
num_workers = max(1, multiprocessing.cpu_count() - 2)
|