Skip to content

Commit

Permalink
feat(agent): make the connection pool size configurable, fixes #913 (#…
Browse files Browse the repository at this point in the history
…914)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
  • Loading branch information
yshyn-iohk authored and Shota Jolbordi committed Mar 6, 2024
1 parent 2168495 commit bf21cb0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ pollux {
appUsername = ${?POLLUX_DB_APP_USER}
appPassword = "password"
appPassword = ${?POLLUX_DB_APP_PASSWORD}
awaitConnectionThreads = 8
awaitConnectionThreads = 4
awaitConnectionThreads = ${?POLLUX_DB_AWAIT_CONNECTION_THREADS}
}
statusListRegistry {
publicEndpointUrl = "http://localhost:8085"
Expand Down Expand Up @@ -65,7 +66,8 @@ connect {
appUsername = ${?CONNECT_DB_APP_USER}
appPassword = "password"
appPassword = ${?CONNECT_DB_APP_PASSWORD}
awaitConnectionThreads = 8
awaitConnectionThreads = 4
awaitConnectionThreads = ${?CONNECT_DB_AWAIT_CONNECTION_THREADS}
}
connectBgJobRecordsLimit = 25
connectBgJobRecordsLimit = ${?CONNECT_BG_JOB_RECORDS_LIMIT}
Expand Down Expand Up @@ -172,7 +174,8 @@ agent {
appUsername = ${?AGENT_DB_APP_USER}
appPassword = "password"
appPassword = ${?AGENT_DB_APP_PASSWORD}
awaitConnectionThreads = 8
awaitConnectionThreads = 4
awaitConnectionThreads = ${?AGENT_DB_AWAIT_CONNECTION_THREADS}
}
verification {
options {
Expand Down

0 comments on commit bf21cb0

Please sign in to comment.