diff --git a/src/db.rs b/src/db.rs index 108a8db..87d38c7 100644 --- a/src/db.rs +++ b/src/db.rs @@ -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=1", + "postgresql://{}:{}@{}:{}/{}?connection_limit=10", CONFIG.postgres_user, CONFIG.postgres_password, CONFIG.postgres_host,