Change # of connections in the license manager pool

This commit is contained in:
Herbert Wolverson
2023-08-12 15:25:06 +00:00
parent 63152e9c18
commit b177a93177

View File

@@ -12,7 +12,7 @@ pub async fn start() -> anyhow::Result<()> {
let listener = TcpListener::bind(":::9126").await?; let listener = TcpListener::bind(":::9126").await?;
log::info!("Listening on :::9126"); log::info!("Listening on :::9126");
let pool = pgdb::get_connection_pool(5).await; let pool = pgdb::get_connection_pool(10).await;
if pool.is_err() { if pool.is_err() {
log::error!("Unable to connect to the database"); log::error!("Unable to connect to the database");
log::error!("{pool:?}"); log::error!("{pool:?}");