From 97bbd1a407aa56ba654f03bc173f05269c8d3448 Mon Sep 17 00:00:00 2001 From: usbharu Date: Mon, 29 Jul 2024 15:13:02 +0900 Subject: [PATCH] =?UTF-8?q?perf:=20Spring=20Boot=E8=B5=B7=E5=8B=95?= =?UTF-8?q?=E9=80=9F=E5=BA=A6=E3=82=92=E5=90=91=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- hideout-core/build.gradle.kts | 2 +- hideout-core/src/main/resources/application.yml | 2 ++ hideout-core/src/main/resources/log4j2.xml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 483b2ee6..0c1ed385 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.parallel=true org.gradle.configureondemand=true org.gradle.caching=true -org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED -XX:TieredStopAtLevel=1 -noverify org.gradle.configuration-cache=true org.gradle.configuration-cache.problems=warn \ No newline at end of file diff --git a/hideout-core/build.gradle.kts b/hideout-core/build.gradle.kts index fe0e1d5e..1205e8cd 100644 --- a/hideout-core/build.gradle.kts +++ b/hideout-core/build.gradle.kts @@ -93,7 +93,7 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-log4j2") implementation("org.springframework.boot:spring-boot-starter-validation") - + annotationProcessor("org.springframework:spring-context-indexer") implementation(libs.blurhash) implementation(libs.aws.s3) diff --git a/hideout-core/src/main/resources/application.yml b/hideout-core/src/main/resources/application.yml index 55cec25b..b47aa5a8 100644 --- a/hideout-core/src/main/resources/application.yml +++ b/hideout-core/src/main/resources/application.yml @@ -18,6 +18,8 @@ hideout: spring: + jmx: + enabled: false jackson: serialization: WRITE_DATES_AS_TIMESTAMPS: false diff --git a/hideout-core/src/main/resources/log4j2.xml b/hideout-core/src/main/resources/log4j2.xml index 195006c3..4a2ec926 100644 --- a/hideout-core/src/main/resources/log4j2.xml +++ b/hideout-core/src/main/resources/log4j2.xml @@ -6,7 +6,7 @@ - +