From 36fd6625db3b770a7028eb1a1c551b6baa436119 Mon Sep 17 00:00:00 2001 From: Laxman Ch Date: Thu, 19 Aug 2021 22:16:52 +0530 Subject: [PATCH 1/3] upgrade grpc-netty dependencies --- attribute-service/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/attribute-service/build.gradle.kts b/attribute-service/build.gradle.kts index 395b0675..08a979d7 100644 --- a/attribute-service/build.gradle.kts +++ b/attribute-service/build.gradle.kts @@ -65,12 +65,12 @@ dependencies { runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.14.1") // GRPC - runtimeOnly("io.grpc:grpc-netty:1.36.1") + runtimeOnly("io.grpc:grpc-netty-shaded:1.36.1") constraints { - runtimeOnly("io.netty:netty-codec-http2:4.1.61.Final") { + runtimeOnly("io.netty:netty-codec-http2:4.1.63.Final") { because("https://snyk.io/vuln/SNYK-JAVA-IONETTY-1089809") } - runtimeOnly("io.netty:netty-handler-proxy:4.1.61.Final") { + runtimeOnly("io.netty:netty-handler-proxy:4.1.63.Final") { because("https://snyk.io/vuln/SNYK-JAVA-IONETTY-1089809") } } From d42f7bdd823116c14771670e7b8196aca5b26a59 Mon Sep 17 00:00:00 2001 From: Laxman Ch Date: Thu, 19 Aug 2021 22:17:13 +0530 Subject: [PATCH 2/3] Revert "chore: limit direct memory size (#98)" This reverts commit c8c917ac1ccc2ccf748083de7420c4ab6e9d95e5. --- helm/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/values.yaml b/helm/values.yaml index 4f6db63c..a487f9bc 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -20,7 +20,7 @@ service: nodeLabels: {} -javaOpts: "-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=75.0 -XX:MaxDirectMemorySize=128M" +javaOpts: "-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=75.0" livenessProbe: initialDelaySeconds: 10 From 10b4395ef25aac82f79026d565c30004d4bc9b1c Mon Sep 17 00:00:00 2001 From: Laxman Ch Date: Fri, 20 Aug 2021 00:38:10 +0530 Subject: [PATCH 3/3] upgrade grpc-netty dependencies --- attribute-service/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attribute-service/build.gradle.kts b/attribute-service/build.gradle.kts index 08a979d7..a5fa8ce9 100644 --- a/attribute-service/build.gradle.kts +++ b/attribute-service/build.gradle.kts @@ -65,7 +65,7 @@ dependencies { runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.14.1") // GRPC - runtimeOnly("io.grpc:grpc-netty-shaded:1.36.1") + runtimeOnly("io.grpc:grpc-netty:1.36.1") constraints { runtimeOnly("io.netty:netty-codec-http2:4.1.63.Final") { because("https://snyk.io/vuln/SNYK-JAVA-IONETTY-1089809")