From a41c0f1782896c908dd9e6af4271264928600c32 Mon Sep 17 00:00:00 2001 From: hongwei Date: Tue, 19 Sep 2023 11:34:14 +0200 Subject: [PATCH] feature/chang the default poolSize --- .../src/main/scala/bootstrap/liftweb/CustomDBVendor.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/obp-api/src/main/scala/bootstrap/liftweb/CustomDBVendor.scala b/obp-api/src/main/scala/bootstrap/liftweb/CustomDBVendor.scala index 5883715db2..e9f5331d4d 100644 --- a/obp-api/src/main/scala/bootstrap/liftweb/CustomDBVendor.scala +++ b/obp-api/src/main/scala/bootstrap/liftweb/CustomDBVendor.scala @@ -47,15 +47,15 @@ trait CustomProtoDBVendor extends ConnectionManager { /** * Override this method if you want something other than - * 4 connections in the pool + * 20 connections in the pool */ - protected def maxPoolSize = 4 + protected def maxPoolSize = 20 /** * The absolute maximum that this pool can extend to - * The default is 20. Override this method to change. + * The default is 40. Override this method to change. */ - protected def doNotExpandBeyond = 20 + protected def doNotExpandBeyond = 30 /** * The logic for whether we can expand the pool beyond the current size. By