mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(svc): allow disabling named Postgres prepared statements (#2256)
This commit is contained in:
@@ -31,7 +31,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)?;
|
||||
MessagesShard::new_postgres(kv, transport.clone())?
|
||||
}
|
||||
DatabaseBackend::Cassandra => {
|
||||
|
||||
Reference in New Issue
Block a user