fix(svc): allow disabling named Postgres prepared statements (#2256)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-31 17:19:44 +02:00
1 parent b8f8d8d859
commit 542fb9176a
10 files changed
+569 -59

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ async fn main() -> anyhow::Result<()> {
let postgres_config =
fluxer_svc::postgres::PostgresConfig::from_service_config(&config);
let pool = fluxer_svc::postgres::connect(&postgres_config).await?;
let kv = fluxer_svc::postgres::KvClient::new(pool, &postgres_config.kv_table)?;
let kv = fluxer_svc::postgres::KvClient::new(pool, &postgres_config)?;
UsersShard::new_postgres(
kv,
transport.clone(),