Skip to content

poolTimeout and other declared-but-unused config values fragment behavior #1290

Description

@nanaf6203-bit

Context

PrismaService parses PGBOUNCER_POOL_TIMEOUT into a variable used nowhere (marked eslint-disable as unused); README documents PGBOUNCER_POOL_TIMEOUT as config; CACHE_WARMING_INTERVAL semantics are vague in .env.example.

Problem

Config that silently does nothing creates false assumptions during ops (tuning pool timeout has zero effect; warming interval expectations mismatch implementation). Either implement the knobs or document them as no-ops/invalid.

Proposed approach

Either wire pool timeout into Prisma client options (connection_timeout / statement_timeout) or remove the variable and README row; reconcile CACHE_WARMING_INTERVAL to the scheduling truth; add a config-docs smoke test listing implemented knobs.

Acceptance criteria

  • Every documented knob has an effect or is removed from docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions