Skip to content

Commit

Permalink
feature/chang the default poolSize
Browse files Browse the repository at this point in the history
  • Loading branch information
hongwei1 committed Sep 19, 2023
1 parent 17261bb commit a41c0f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions obp-api/src/main/scala/bootstrap/liftweb/CustomDBVendor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a41c0f1

Please sign in to comment.