fix(core): increase PostgreSQL and MySQL connection pool size
- PostgreSQL: 4 -> 10 connections - MySQL: 3 -> 10 connections Fixes #1516
This commit is contained in:
1 parent
fae644b888
commit
0d4e35ee02
2 files changed
+2
-2
No files matched your search
@@ -590,7 +590,7 @@ pub async fn connect(url: &str, fallback_timeout: Duration) -> Result<Pool, Stri
|
||||
mgr_config,
|
||||
);
|
||||
let pool = Pool::builder(mgr)
|
||||
.max_size(4)
|
||||
.max_size(10)
|
||||
.runtime(Runtime::Tokio1)
|
||||
.wait_timeout(Some(timeout))
|
||||
.build()
|
||||
|
||||
Reference in new issue
Block a user