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

#2653 network-connection-timeout-problem-solved #2676

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

TheVixhal
Copy link

#2653
Here's what has been added or modified:

New Method 'retryRequest': Added a new method 'retryRequest' to handle retry logic after a temporary network failure. This method retries the request a specified number of times ('retries' parameter) if it encounters a 'java.net.ConnectException.'

Integration of 'retryRequest' Method: Integrated the 'retryRequest' method into the 'NettyClientDriver' class.

/claim #2653

zio#2653
Here's what has been added or modified:

New Method 'retryRequest': Added a new method 'retryRequest' to handle retry logic after a temporary network failure. This method retries the request a specified number of times ('retries' parameter) if it encounters a 'java.net.ConnectException.'

Integration of 'retryRequest' Method: Integrated the 'retryRequest' method into the 'NettyClientDriver' class.

/claim 2653
@CLAassistant
Copy link

CLAassistant commented Feb 10, 2024

CLA assistant check
All committers have signed the CLA.

I replaced ZIO.effectSuspend with ZIO.suspend.
I provided explicit Trace parameters where required.
I fixed the type mismatch issue by ensuring that the block inside ZIO.suspend returns a ZIO value.
I introduced the new method retryRequest and made the necessary adjustments.
@codecov-commenter
Copy link

codecov-commenter commented Feb 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (21989c9) 64.55% compared to head (da116a6) 64.55%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2676   +/-   ##
=======================================
  Coverage   64.55%   64.55%           
=======================================
  Files         145      145           
  Lines        8607     8607           
  Branches     1521     1521           
=======================================
  Hits         5556     5556           
  Misses       3051     3051           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants