From fbab8a940ab55a51be085aab14fc109e7811bbe9 Mon Sep 17 00:00:00 2001 From: limju Date: Fri, 22 Sep 2023 09:54:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20hibernate=20autocommit=20false=20=20=20?= =?UTF-8?q?=20=20=20-=20`hibernate.connection.provider=5Fdisables=5Fautoco?= =?UTF-8?q?mmit`=20was=20enabled.=20...=20=EB=A9=94=EC=84=B8=EC=A7=80=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20=20=20=20=20=20Nice=20CI=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=BA=90=EC=8B=9C=20=EA=B0=AF=EC=88=98=201=20->=20?= =?UTF-8?q?10=EC=9C=BC=EB=A1=9C=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/kr/xit/core/spring/config/CacheType.java | 2 +- mens-core/src/main/resources/config/application-common.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mens-api/src/main/java/kr/xit/core/spring/config/CacheType.java b/mens-api/src/main/java/kr/xit/core/spring/config/CacheType.java index f8eac55..77b81cb 100644 --- a/mens-api/src/main/java/kr/xit/core/spring/config/CacheType.java +++ b/mens-api/src/main/java/kr/xit/core/spring/config/CacheType.java @@ -26,7 +26,7 @@ import lombok.Getter; @AllArgsConstructor public enum CacheType { - NICE_CRTF("niceCiInfo", 60 * 60 * 24, 1), + NICE_CRTF("niceCiInfo", 60 * 60 * 24, 10), ; /** diff --git a/mens-core/src/main/resources/config/application-common.yml b/mens-core/src/main/resources/config/application-common.yml index 4c71a7a..34a9128 100644 --- a/mens-core/src/main/resources/config/application-common.yml +++ b/mens-core/src/main/resources/config/application-common.yml @@ -59,6 +59,11 @@ spring: devtools: livereload: enabled: false + jpa: + properties: + hibernate: + connection: + provider_disables_autocommit: false springdoc: api-docs: