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

feat: switch httpclient to httpclient2 for retry feature #3606

Merged
merged 2 commits into from
Apr 11, 2019

Conversation

atian25
Copy link
Member

@atian25 atian25 commented Apr 10, 2019

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

close #2467

@atian25 atian25 requested review from fengmk2 and dead-horse April 10, 2019 02:40
@codecov
Copy link

codecov bot commented Apr 10, 2019

Codecov Report

Merging #3606 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #3606   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          32      32           
  Lines         919     919           
======================================
  Hits          919     919
Impacted Files Coverage Δ
app/extend/request.js 100% <ø> (ø) ⬆️
lib/egg.js 100% <ø> (ø) ⬆️
lib/core/base_context_logger.js 100% <ø> (ø) ⬆️
app/extend/response.js 100% <ø> (ø) ⬆️
lib/agent.js 100% <ø> (ø) ⬆️
app/extend/helper.js 100% <ø> (ø) ⬆️
lib/core/httpclient.js 100% <ø> (ø) ⬆️
app/extend/context.js 100% <ø> (ø) ⬆️
lib/application.js 100% <ø> (ø) ⬆️

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 2357fbc...9a9f99d. Read the comment docs.

@atian25 atian25 requested review from whxaxes and popomore April 10, 2019 02:43
await sleep(5000);
assert(errorHadEmit);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里顺便修复下 CI 不稳定的问题

@dead-horse dead-horse merged commit eead318 into master Apr 11, 2019
@dead-horse dead-horse deleted the httpclient2 branch April 11, 2019 09:21
popomore pushed a commit that referenced this pull request Apr 11, 2019
feat: switch httpclient to httpclient2 for retry feature (#3606)
dead-horse added a commit that referenced this pull request Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way swtich to urllib.HttpClient2 in egg?
2 participants