Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@olavloite
Copy link

The default executor for GrpcTransportOptions created non-daemon threads, possibly keeping applications alive after the main method has finished.
Note: While this fixes #2315, I do not know whether this could cause unwanted side effects for other clients.

The default executor for GrpcTransportOptions created non-daemon threads
possibly keeping applications alive after the main method has finished.
This is the cause of googleapis#2315.
@olavloite olavloite added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 17, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 17, 2019
@olavloite olavloite changed the title default executor used non-daemon threads Core: Default executor used non-daemon threads May 17, 2019
@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #5194 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #5194      +/-   ##
============================================
+ Coverage     50.41%   50.42%   +<.01%     
  Complexity    23796    23796              
============================================
  Files          2251     2251              
  Lines        226833   226836       +3     
  Branches      24966    24966              
============================================
+ Hits         114368   114371       +3     
  Misses       103858   103858              
  Partials       8607     8607
Impacted Files Coverage Δ Complexity Δ
...va/com/google/cloud/grpc/GrpcTransportOptions.java 64.7% <100%> (+2.2%) 7 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db3241b...3d4481e. Read the comment docs.

@olavloite olavloite removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 17, 2019
@olavloite olavloite marked this pull request as ready for review May 17, 2019 14:48
@olavloite olavloite requested a review from a team as a code owner May 17, 2019 14:48
@sduskis
Copy link
Contributor

sduskis commented May 17, 2019

This is a great find.

@sduskis sduskis merged commit 575eca4 into googleapis:master May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JVM Hangs on gRPC if you don't close Spanner Object

3 participants