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: control concurrency when call CountWinner #223

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

simlecode
Copy link
Collaborator

关联的Issues (Related Issues)

close filecoin-project/venus#6128

改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)

在你认为本 PR 满足被审阅的标准之前,需要确保 / Before you mark the PR ready for review, please make sure that:

  • 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
  • 具有清晰明确的commit message / All commits have a clear commit message.
  • 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
  • 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
  • 通过必要的检查项 / All checks are green

@simlecode simlecode force-pushed the feat/control-concurrency branch from e43eac5 to c4668d0 Compare August 30, 2023 08:31
@codecov-commenter
Copy link

codecov-commenter commented Aug 30, 2023

Codecov Report

Merging #223 (e43eac5) into release/v1.13 (b9e9167) will decrease coverage by 14.26%.
The diff coverage is 100.00%.

❗ Current head e43eac5 differs from pull request most recent head c4668d0. Consider uploading reports for the commit c4668d0 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Impacted file tree graph

@@                Coverage Diff                 @@
##           release/v1.13     #223       +/-   ##
==================================================
- Coverage          47.24%   32.98%   -14.26%     
==================================================
  Files                 45       61       +16     
  Lines               2464     4326     +1862     
==================================================
+ Hits                1164     1427      +263     
- Misses              1127     2725     +1598     
- Partials             173      174        +1     
Flag Coverage Δ
unittests 32.84% <100.00%> (?)

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

Files Changed Coverage
miner/miningmgr.go 100.00%
miner/util.go 100.00%

Copy link
Collaborator

@LinZexiao LinZexiao left a comment

Choose a reason for hiding this comment

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

LGTM

@LinZexiao LinZexiao merged commit 4e6a912 into release/v1.13 Aug 30, 2023
@LinZexiao LinZexiao deleted the feat/control-concurrency branch August 30, 2023 08:50
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.

3 participants