Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions helm/hindsight/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ api:
# Liveness and readiness probes
livenessProbe:
httpGet:
path: /health
path: /version
port: 8888
initialDelaySeconds: 30
periodSeconds: 10
Expand All @@ -48,7 +48,7 @@ api:

readinessProbe:
httpGet:
path: /health
path: /version
port: 8888
initialDelaySeconds: 10
periodSeconds: 5
Expand Down Expand Up @@ -101,6 +101,12 @@ api:
env:
#HINDSIGHT_API_LLM_PROVIDER: "groq"
HINDSIGHT_API_LLM_MODEL: "openai/gpt-oss-120b"
# Keep embedded PostgreSQL deployments from opening hundreds of idle
# asyncpg connections across API and worker pods under backlog pressure.
HINDSIGHT_API_DB_POOL_MIN_SIZE: "1"
HINDSIGHT_API_DB_POOL_MAX_SIZE: "10"
HINDSIGHT_API_READ_DB_POOL_MIN_SIZE: "1"
HINDSIGHT_API_READ_DB_POOL_MAX_SIZE: "10"

# Secret environment variables
secrets:
Expand Down Expand Up @@ -134,7 +140,7 @@ worker:
# Liveness and readiness probes
livenessProbe:
httpGet:
path: /health
path: /metrics
port: 8889
initialDelaySeconds: 30
periodSeconds: 10
Expand All @@ -143,7 +149,7 @@ worker:

readinessProbe:
httpGet:
path: /health
path: /metrics
port: 8889
initialDelaySeconds: 10
periodSeconds: 5
Expand All @@ -155,7 +161,13 @@ worker:
# Poll interval in milliseconds (how often to check for new tasks)
HINDSIGHT_API_WORKER_POLL_INTERVAL_MS: "500"
# Number of tasks to claim per poll cycle
HINDSIGHT_API_WORKER_BATCH_SIZE: "10"
HINDSIGHT_API_WORKER_BATCH_SIZE: "1"
# Bound per-worker task and DB write concurrency for the default embedded DB.
# Keep one shared slot available for reservation-less task types like retain.
HINDSIGHT_API_WORKER_MAX_SLOTS: "2"
HINDSIGHT_API_WORKER_CONSOLIDATION_MAX_SLOTS: "1"
HINDSIGHT_API_WORKER_RETAIN_MAX_SLOTS: "1"
HINDSIGHT_API_RETAIN_MAX_CONCURRENT: "1"
# Max retries before marking a task as failed
HINDSIGHT_API_WORKER_MAX_RETRIES: "3"
# HTTP port for metrics/health (matches service.targetPort)
Expand Down