aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-api/resources
diff options
context:
space:
mode:
authorPrakhar Pandey <prakhar.pandey@bell.ca>2022-04-14 12:15:00 -0400
committerLukasz Rajewski <lukasz.rajewski@orange.com>2022-04-22 07:08:06 +0000
commita8a47e06d84f696656479bf507e802a422effd5a (patch)
tree7481b5fe44d444354cb771122e13bbf0e331d927 /kubernetes/policy/components/policy-api/resources
parent2205e0c6bbc9ed05b0fe4a1af88532d95652881f (diff)
[POLICY] Increase hikari connection pool size for PAP & API
We saw some bottlenecks during S3P testing of API component due to the default connection pool size of 10. Setting it to 20 based on the number of parallel threads used for performance tests. The change is required because prior to spring boot migration (Istanbul and earlier), the default connection size was 32 so it was never a problem for running load tests. Issue-ID: POLICY-4007 Change-Id: Iaaa573d5fce0298e3aff05a27c2e845840a6cb06 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
Diffstat (limited to 'kubernetes/policy/components/policy-api/resources')
-rw-r--r--kubernetes/policy/components/policy-api/resources/config/apiParameters.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-api/resources/config/apiParameters.yaml b/kubernetes/policy/components/policy-api/resources/config/apiParameters.yaml
index c08b035d53..e6cf2b3571 100644
--- a/kubernetes/policy/components/policy-api/resources/config/apiParameters.yaml
+++ b/kubernetes/policy/components/policy-api/resources/config/apiParameters.yaml
@@ -29,6 +29,8 @@ spring:
driverClassName: org.mariadb.jdbc.Driver
username: "${SQL_USER}"
password: "${SQL_PASSWORD}"
+ hikari:
+ maximumPoolSize: 20
jpa:
properties:
hibernate: