From 7d02dd6854a6b86477b39c07ff7fe45cc1fb1e63 Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Mon, 12 Oct 2026 11:52:36 +0530 Subject: [PATCH] chore: uvicorn WebSocket keepalive pings --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d630ca2..2e01af2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,4 +46,4 @@ EXPOSE 8000 # Single worker: in-process caches (usage counters, nonce store) assume one instance per pod. # Schema and content seed are both idempotent upserts, so every start converges the DB to this image's content/. -CMD ["sh", "-c", "python -m vaak.migrate && python -m vaak.seed && exec python -m uvicorn vaak.api.app:app --host 0.0.0.0 --port 8000 --workers 1 --no-access-log --proxy-headers"] +CMD ["sh", "-c", "python -m vaak.migrate && python -m vaak.seed && exec python -m uvicorn vaak.api.app:app --host 0.0.0.0 --port 8000 --workers 1 --no-access-log --proxy-headers --ws-ping-interval 20 --ws-ping-timeout 20"]