-
Notifications
You must be signed in to change notification settings - Fork 314
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
Ensure any service threads are created as daemon threads. #1137
Conversation
@@ -174,7 +175,7 @@ ManagedChannelBuilder<?> defaultChannelBuilder(String target) { | |||
throw new IllegalArgumentException("At least one endpoint should be provided"); | |||
} | |||
if (vertx == null) { | |||
vertx = Vertx.vertx(); | |||
vertx = Vertx.vertx(new VertxOptions().setUseDaemonThread(builder.useDaemonThread())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although I appreciate you took backward compatibility into account, given this is mainly used as a library, I wonder if this should be the default behavior and avoid adding yet another configuration option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM, that simplifies matters a lot and certainly helps us fix our issue.
@jcferretti can you please rebase ? I think there were an issue with the ssl test preventing it to terminate |
…threads. Signed-off-by: Cristian Ferretti <cristianferretti@deephaven.io>
Signed-off-by: Cristian Ferretti <cristianferretti@deephaven.io>
Signed-off-by: Cristian Ferretti <cristianferretti@deephaven.io>
Bumps io.vertx:vertx-grpc from 4.4.0 to 4.4.2. --- updated-dependencies: - dependency-name: io.vertx:vertx-grpc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps `grpc` from 1.53.0 to 1.55.1. Updates `io.grpc:grpc-core` from 1.53.0 to 1.55.1 - [Release notes](https://github.com/grpc/grpc-java/releases) - [Commits](grpc/grpc-java@v1.53.0...v1.55.1) Updates `io.grpc:grpc-netty` from 1.53.0 to 1.55.1 - [Release notes](https://github.com/grpc/grpc-java/releases) - [Commits](grpc/grpc-java@v1.53.0...v1.55.1) Updates `io.grpc:grpc-protobuf` from 1.53.0 to 1.55.1 - [Release notes](https://github.com/grpc/grpc-java/releases) - [Commits](grpc/grpc-java@v1.53.0...v1.55.1) Updates `io.grpc:grpc-stub` from 1.53.0 to 1.55.1 - [Release notes](https://github.com/grpc/grpc-java/releases) - [Commits](grpc/grpc-java@v1.53.0...v1.55.1) Updates `io.grpc:grpc-grpclb` from 1.53.0 to 1.55.1 - [Release notes](https://github.com/grpc/grpc-java/releases) - [Commits](grpc/grpc-java@v1.53.0...v1.55.1) --- updated-dependencies: - dependency-name: io.grpc:grpc-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.grpc:grpc-netty dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.grpc:grpc-protobuf dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.grpc:grpc-stub dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.grpc:grpc-grpclb dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.slf4j:slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7. - [Commits](qos-ch/slf4j@v_2.0.6...v_2.0.7) --- updated-dependencies: - dependency-name: org.slf4j:slf4j-api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps `autoService` from 1.0.1 to 1.1.0. Updates `com.google.auto.service:auto-service-annotations` from 1.0.1 to 1.1.0 - [Release notes](https://github.com/google/auto/releases) - [Commits](google/auto@auto-common-1.0.1...auto-value-1.1) Updates `com.google.auto.service:auto-service` from 1.0.1 to 1.1.0 - [Release notes](https://github.com/google/auto/releases) - [Commits](google/auto@auto-common-1.0.1...auto-value-1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service-annotations dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.auto.service:auto-service dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps `errorprone` from 2.18.0 to 2.19.1. Updates `com.google.errorprone:error_prone_core` from 2.18.0 to 2.19.1 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.18.0...v2.19.1) Updates `com.google.errorprone:error_prone_annotations` from 2.18.0 to 2.19.1 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.18.0...v2.19.1) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.errorprone:error_prone_annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
I am redoing this PR from scratch; I merged instead of rebasing and that resulting in overall sadness. |
Redone here: #1146 |
Fixes #1136