diff --git a/server/src/main/resources/application.properties b/server/src/main/resources/application.properties index 1b223335..28eaa9d2 100755 --- a/server/src/main/resources/application.properties +++ b/server/src/main/resources/application.properties @@ -2,7 +2,7 @@ spring.application.name=server spring.config.import=optional:application-api.properties -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false spring.jpa.properties.hibernate.format_sql=true spring.sql.init.mode=always spring.jpa.defer-datasource-initialization=true @@ -23,4 +23,11 @@ management.endpoints.web.exposure.include=info, health, prometheus spring.jpa.properties.hibernate.order_updates=true spring.jpa.properties.hibernate.order_insertes=true spring.jpa.properties.hibernate.jdbc.batch_size=100 -spring.datasource.hikari.maximum-pool-size=10 \ No newline at end of file + +spring.datasource.hikari.maximum-pool-size=10 +# 5? ? ??? ???? ?? ??, ?? ?? ?? +spring.datasource.hikari.leak-detection-threshold=300000 +# ?? ???? 5? ?? ?? ?? +spring.datasource.hikari.connection-timeout=300000 +# ?? ???? 30? ?? ??? +spring.datasource.hikari.max-lifetime=1800000