pub async fn connect_pool(
database_url: &SecretString,
max_connections: u32,
) -> Result<PgPool>Expand description
Open a pool whose sessions are pinned to UTC.
Timestamps are read back through to_json, which renders in the session’s
time zone. Without this every deployment would embed its server’s local
offset in the log’s text, and a rebuild on a differently configured host
would not be byte-identical.