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: task mutex replace sync kmutex #1000

Merged
merged 3 commits into from Jan 18, 2022
Merged

feat: task mutex replace sync kmutex #1000

merged 3 commits into from Jan 18, 2022

Conversation

gaius-qi
Copy link
Member

Description

  • Task mutex replace sync kmutex.

Related Issue

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist:

  • Code compiles correctly.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

jim3ma and others added 2 commits January 17, 2022 18:35
* feat: trace https proxy request

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* fix: daemon test

Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi added this to the v2.0.2 milestone Jan 17, 2022
@gaius-qi gaius-qi requested a review from a team as a code owner January 17, 2022 10:38
@gaius-qi gaius-qi self-assigned this Jan 17, 2022
…e/lock-task

Signed-off-by: Gaius <gaius.qi@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #1000 (47fc8c6) into main (97f94cf) will increase coverage by 45.66%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           main    #1000       +/-   ##
=========================================
+ Coverage      0   45.66%   +45.66%     
=========================================
  Files         0      128      +128     
  Lines         0     9094     +9094     
=========================================
+ Hits          0     4153     +4153     
- Misses        0     4473     +4473     
- Partials      0      468      +468     
Flag Coverage Δ
unittests 45.66% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
scheduler/service/service.go 92.68% <ø> (ø)
scheduler/config/config.go 0.00% <0.00%> (ø)
pkg/ratelimiter/ratelimiter/ratelimiter.go 96.61% <0.00%> (ø)
client/daemon/transport/transport.go 59.48% <0.00%> (ø)
cdn/plugins/plugin_manager.go 96.07% <0.00%> (ø)
client/daemon/proxy/proxy_manager.go 0.00% <0.00%> (ø)
pkg/source/httpprotocol/http_source_client.go 63.00% <0.00%> (ø)
cdn/supervisor/cdn/downloader.go 48.38% <0.00%> (ø)
client/config/peerhost.go 35.29% <0.00%> (ø)
pkg/reachable/reachable.go 100.00% <0.00%> (ø)
... and 119 more

@yxxhero yxxhero merged commit 43014df into main Jan 18, 2022
@yxxhero yxxhero deleted the feature/lock-task branch January 18, 2022 06:02
@gaius-qi gaius-qi mentioned this pull request Feb 28, 2022
11 tasks
gaius-qi added a commit that referenced this pull request Jun 28, 2023
* feat: trace https proxy request (#996)

* feat: trace https proxy request

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* fix: daemon test

Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: remove sync kmutex and add task mutex

Signed-off-by: Gaius <gaius.qi@gmail.com>

Co-authored-by: Jim Ma <majinjing3@gmail.com>
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

5 participants