fix: run workers on serve

pull/31/head
hanchchch 1 year ago
parent b99440afd1
commit 0f6c7beb98

@ -111,6 +111,8 @@ async def execute_async(execution_id: str):
def serve():
p = Process(target=start_worker, args=[])
p.start()
uvicorn.run("api.main:app", host="0.0.0.0", port=settings["EVAL_PORT"])

@ -49,5 +49,3 @@ services:
redis:
image: redis:alpine
ports:
- "6379:6379"

Loading…
Cancel
Save