diff --git a/apps/postgres/deployment.yaml b/apps/postgres/deployment.yaml index d41322b..ea530f9 100644 --- a/apps/postgres/deployment.yaml +++ b/apps/postgres/deployment.yaml @@ -16,6 +16,13 @@ spec: containers: - name: postgres image: pgvector/pgvector:pg15 + args: [ + "-c", "tcp_keepalives_idle=600", + "-c", "tcp_keepalives_interval=30", + "-c", "tcp_keepalives_count=3", + "-c", "statement_timeout=300000", + "-c", "idle_in_transaction_session_timeout=600000" + ] ports: - containerPort: 5432 envFrom: