Compare commits

...

1 Commits

Author SHA1 Message Date
HugoCasa
54a2549880 fix(backend): pg connection caching 2025-10-07 17:50:35 +02:00

View File

@@ -289,6 +289,7 @@ pub async fn do_postgresql(
tracing::error!("connection error: {}", e);
}
});
drop(mtex);
(Some((client, handle)), None)
} else {
tracing::info!("Creating new connection");
@@ -307,6 +308,7 @@ pub async fn do_postgresql(
tracing::error!("connection error: {}", e);
}
});
drop(mtex);
(Some((client, handle)), None)
};