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

Skip to content

Conversation

@dengqian
Copy link
Contributor

Issues associated with this PR

#2378

Solutions

You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.

UT result

Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.

Benchmark

If your code involves the processing of every request, you should give the Benchmark Result.

Code Style

  • Make sure Goimports has run
  • Show Golint result

@codecov
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.75%. Comparing base (cafbd5c) to head (131aadb).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2379   +/-   ##
=======================================
  Coverage   60.74%   60.75%           
=======================================
  Files         426      426           
  Lines       37786    37802   +16     
=======================================
+ Hits        22953    22965   +12     
- Misses      12577    12580    +3     
- Partials     2256     2257    +1     

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

return nil
}

var wg sync.WaitGroup
Copy link
Member

Choose a reason for hiding this comment

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

这里用全局变量可能不太好,因为 NewSimpleHostHandler 函数可能会被并发调用

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.

2 participants