diff --git a/backend/src/main/resources/application-deploy.yml b/backend/src/main/resources/application-deploy.yml index b8ea6af5..7581e411 100644 --- a/backend/src/main/resources/application-deploy.yml +++ b/backend/src/main/resources/application-deploy.yml @@ -6,12 +6,14 @@ spring: password: ${SOURCE_MYSQL_PASSWORD} username: ${SOURCE_MYSQL_USERNAME} driver-class-name: com.mysql.cj.jdbc.Driver + maximum-pool-size: ${SOURCE_MAX_CONNECTION_POOL_SIZE} replica: hikari: jdbc-url: ${REPLICA_MYSQL_URL} password: ${REPLICA_MYSQL_PASSWORD} username: ${REPLICA_MYSQL_USERNAME} driver-class-name: com.mysql.cj.jdbc.Driver + maximum-pool-size: ${REPLICA_MAX_CONNECTION_POOL_SIZE} redis: host: ${REDIS_HOST} port: ${REDIS_PORT} @@ -50,5 +52,12 @@ google: client-id: ${GOOGLE_CLIENT_ID} client-secret: ${GOOGLE_CLIENT_SECRET} +server: + tomcat: + accept-count: ${TOMCAT_ACCEPT_COUNT} + threads: + max: ${MAX_THREAD_POOL_SIZE} + max-connections: ${TOMCAT_MAX_CONNENCTIONS} + logging: config: classpath:log4j2-deploy.yml diff --git a/backend/src/main/resources/application-develop.yml b/backend/src/main/resources/application-develop.yml index 3334d5d4..5bb74ea0 100644 --- a/backend/src/main/resources/application-develop.yml +++ b/backend/src/main/resources/application-develop.yml @@ -6,14 +6,14 @@ spring: password: ${SOURCE_MYSQL_PASSWORD} username: ${SOURCE_MYSQL_USERNAME} driver-class-name: com.mysql.cj.jdbc.Driver - maximum-pool-size: ${MAX_CONNECTION_POOL_SIZE} + maximum-pool-size: ${SOURCE_MAX_CONNECTION_POOL_SIZE} replica: hikari: jdbc-url: ${REPLICA_MYSQL_URL} password: ${REPLICA_MYSQL_PASSWORD} username: ${REPLICA_MYSQL_USERNAME} driver-class-name: com.mysql.cj.jdbc.Driver - maximum-pool-size: ${MAX_CONNECTION_POOL_SIZE} + maximum-pool-size: ${REPLICA_MAX_CONNECTION_POOL_SIZE} redis: host: ${REDIS_HOST} port: ${REDIS_PORT}