mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Change # of connections in the license manager pool
This commit is contained in:
@@ -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:?}");
|
||||||
|
|||||||
Reference in New Issue
Block a user