fix: increase ClickHouse pool size and reduce flush interval
All checks were successful
CI / build (push) Successful in 1m49s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Successful in 2m10s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 43s

Pool was hardcoded to 10 connections serving 7 concurrent write
streams + UI reads, causing "too many simultaneous queries" and
WriteBuffer overflow. Pool now defaults to 50 (configurable via
clickhouse.pool-size), flush interval reduced from 1000ms to 500ms.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-02 22:11:15 +02:00
parent 45eab761b7
commit e495b80432
3 changed files with 8 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ agent-registry:
ingestion:
buffer-capacity: 50000
batch-size: 5000
flush-interval-ms: 1000
flush-interval-ms: 500
cameleer:
body-size-limit: ${CAMELEER_BODY_SIZE_LIMIT:16384}