fix(api): allow disabling named Postgres prepared statements (#2251)

This commit is contained in:
Hampus
2026-08-31 16:10:52 +02:00
committed by GitHub
parent 9025e03422
commit 5036ac3efa
10 changed files with 143 additions and 74 deletions
+7
View File
@@ -113,3 +113,10 @@ FLUXER_DISCOVERY_ENABLED=true
# from starting far more schedulers than the container can actually use.
#FLUXER_ERLANG_SCHEDULERS_MIN=2
#FLUXER_ERLANG_SCHEDULERS_MAX=16
# The api names its fixed Postgres statement shapes so the server can reuse their
# plans. Named prepared statements require a session that outlives the
# transaction, so set this to false if you put a transaction-pooling connection
# pooler such as PgBouncer in front of Postgres. The bundled compose talks to
# Postgres directly, where naming is a win and the default is correct.
#FLUXER_POSTGRES_PREPARED_STATEMENTS=true
+1
View File
@@ -17,6 +17,7 @@ x-fluxer-env: &fluxer-env
FLUXER_POSTGRES_USERNAME: fluxer
FLUXER_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
FLUXER_POSTGRES_SSL: "false"
FLUXER_POSTGRES_PREPARED_STATEMENTS: ${FLUXER_POSTGRES_PREPARED_STATEMENTS:-true}
FLUXER_KV_URL: redis://valkey:6379/0
FLUXER_NATS_URL: nats://nats:4222