Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Context Propagation and useless IDLE connections Netty detection #362

Merged
merged 1 commit into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java_quarkus_bench/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN /app/mvnw clean package
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

ENTRYPOINT java -Dquarkus.grpc.server.instances="${GRPC_SERVER_CPUS:-1}" -jar /app/target/quarkus-app/quarkus-run.jar
ENTRYPOINT java -Dquarkus.http.idle-timeout=0 -Dmutiny.disableCallBackDecorators=true -Dquarkus.grpc.server.instances="${GRPC_SERVER_CPUS:-1}" -jar /app/target/quarkus-app/quarkus-run.jar
3 changes: 2 additions & 1 deletion java_quarkus_bench/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
quarkus.grpc.server.port=50051
quarkus.grpc.server.port=50051
quarkus.arc.context-propagation.enabled=false
2 changes: 1 addition & 1 deletion java_quarkus_native_bench/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN /app/mvnw clean package -Pnative
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

ENTRYPOINT /app/target/java_quarkus_bench-1.0.0-SNAPSHOT-runner -Dquarkus.grpc.server.instances="${GRPC_SERVER_CPUS:-1}"
ENTRYPOINT /app/target/java_quarkus_bench-1.0.0-SNAPSHOT-runner -Dquarkus.http.idle-timeout=0 -Dmutiny.disableCallBackDecorators=true -Dquarkus.grpc.server.instances="${GRPC_SERVER_CPUS:-1}"