diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 068b0eb..6e460c9 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -15,14 +15,13 @@ server: spring: datasource: - url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:master}?cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true + url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:master}?ApplicationName=${spring.application.name:}&cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true driverClassName: org.postgresql.Driver username: ${PSQL_USERNAME:fforesight} password: ${PSQL_PASSWORD:fforesight} platform: org.hibernate.dialect.PostgreSQL95Dialect hikari: maximumPoolSize: 2 - minimum-idle: 2 data-source-properties: cachePrepStmts: true prepStmtCacheSize: 1000