Update connection pool size

This commit is contained in:
2024-05-13 12:44:49 +02:00
parent c4d09fd7d4
commit 49ca7f2e2b
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ use crate::{config::CONFIG, prisma::PrismaClient};
pub async fn get_prisma_client() -> PrismaClient {
let database_url: String = format!(
"postgresql://{}:{}@{}:{}/{}?connection_limit=4",
"postgresql://{}:{}@{}:{}/{}?connection_limit=10",
CONFIG.postgres_user,
CONFIG.postgres_password,
CONFIG.postgres_host,