mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(api): allow disabling named Postgres prepared statements (#2251)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user