mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 22:07:34 +00:00
The `PG*` fallbacks for the DSN lived in `mod.rs` and the `PGSSL*` ones in `tls.rs`, each with its own env helper. Put both behind one `resolve_connection_defaults`, which the pool calls once, so the two cannot drift apart and `tls::build` stays a pure function of its params. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ULdieJyQoHNzeHq42H2M1p