perf: Spring Boot起動速度を向上

This commit is contained in:
usbharu 2024-07-29 15:13:02 +09:00
parent 0803877c8b
commit 97bbd1a407
4 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -18,6 +18,8 @@ hideout:
spring:
jmx:
enabled: false
jackson:
serialization:
WRITE_DATES_AS_TIMESTAMPS: false

View File

@ -6,7 +6,7 @@
</Console>
</Appenders>
<Loggers>
<Root level="TRACE">
<Root level="INFO">
<AppenderRef ref="Console"/>
</Root>
<Logger name="dev.usbharu.owl.broker.service.QueuedTaskAssignerImpl" level="TRACE"/>