Explorar el Código

added connection pool size for Thread Starvation

Jejomar Dimayuga hace 8 años
padre
commit
221d97746f
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      crss-mtr/crss-mtr-pemc-uat-sit.yml

+ 4 - 4
crss-mtr/crss-mtr-pemc-uat-sit.yml

@@ -14,7 +14,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 2
+      maxPoolSize: 5
       test-on-borrow: true
       validation-query: SELECT 1
   crss-registration:
@@ -23,16 +23,16 @@ spring:
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 2
+      maxPoolSize: 5
       test-on-borrow: true
       validation-query: SELECT 1
   jpa:
-    show-sql: true
+    show-sql: false
     generate-ddl: true
     open-in-view: false
     properties:
       hibernate:
-        generate_statistics: true
+        generate_statistics: false
         dialect: org.hibernate.dialect.PostgreSQLDialect
         ddl-auto: none
         hbm2ddl: