tsloughter / grpcbox

Erlang grpc on chatterbox
Apache License 2.0
138 stars 61 forks source link

Support for configuring connection timeout options for client endpoints #88

Closed psalin closed 1 year ago

psalin commented 2 years ago

Adds support for setting the connect_timeout and tcp_user_timeout options of chatterbox. The options can be set separately for each endpoint.

Requires tsloughter/chatterbox#16 for tcp_user_timeout support.

codecov[bot] commented 2 years ago

Codecov Report

Base: 39.02% // Head: 39.14% // Increases project coverage by +0.11% :tada:

Coverage data is based on head (a280971) compared to base (8cad52b). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #88 +/- ## ========================================== + Coverage 39.02% 39.14% +0.11% ========================================== Files 28 28 Lines 2091 2095 +4 ========================================== + Hits 816 820 +4 Misses 1275 1275 ``` | [Impacted Files](https://codecov.io/gh/tsloughter/grpcbox/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tristan+Sloughter) | Coverage Δ | | |---|---|---| | [src/grpcbox\_channel.erl](https://codecov.io/gh/tsloughter/grpcbox/pull/88/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tristan+Sloughter#diff-c3JjL2dycGNib3hfY2hhbm5lbC5lcmw=) | `68.75% <100.00%> (ø)` | | | [src/grpcbox\_subchannel.erl](https://codecov.io/gh/tsloughter/grpcbox/pull/88/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tristan+Sloughter#diff-c3JjL2dycGNib3hfc3ViY2hhbm5lbC5lcmw=) | `61.11% <100.00%> (+4.86%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tristan+Sloughter). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tristan+Sloughter)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.