zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.42k stars 3.97k forks source link

chore: optimize lock in discov.etcd #4272

Closed kevwan closed 4 months ago

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.11%. Comparing base (8690859) to head (9c18a44). Report is 96 commits behind head on master.

Additional details and impacted files | [Files](https://app.codecov.io/gh/zeromicro/go-zero/pull/4272?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zeromicro) | Coverage Δ | | |---|---|---| | [core/discov/internal/registry.go](https://app.codecov.io/gh/zeromicro/go-zero/pull/4272?src=pr&el=tree&filepath=core%2Fdiscov%2Finternal%2Fregistry.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zeromicro#diff-Y29yZS9kaXNjb3YvaW50ZXJuYWwvcmVnaXN0cnkuZ28=) | `77.72% <100.00%> (-1.18%)` | :arrow_down: | ... and [254 files with indirect coverage changes](https://app.codecov.io/gh/zeromicro/go-zero/pull/4272/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zeromicro)