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

Draft: Add support of discard with treshold option, remake the solution usin… #12

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nyckyta
Copy link

@nyckyta nyckyta commented Aug 25, 2024

…g channels

The change is inspired by the comment #5 (comment). The solution relies on channels as the main synchronization primitive, instead of semaphore.

@nyckyta
Copy link
Author

nyckyta commented Aug 25, 2024

Should be fixed now, pls try again

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10548914574

Details

  • 70 of 76 (92.11%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-2.4%) to 96.46%

Changes Missing Coverage Covered Lines Changed/Added Lines %
group_options.go 7 9 77.78%
sizedgroup.go 63 67 94.03%
Totals Coverage Status
Change from base Build 6286685592: -2.4%
Covered Lines: 218
Relevant Lines: 226

💛 - Coveralls

@nyckyta nyckyta force-pushed the master branch 3 times, most recently from aa1b501 to 46402bc Compare August 31, 2024 17:33
@nyckyta
Copy link
Author

nyckyta commented Aug 31, 2024

Added few test cases that should fix the coverage, slightly improved the API. Pls, run the job

Mykyta added 2 commits September 1, 2024 15:39
The change is inspired by the comment go-pkgz#5 (comment).
The solution relies on channels as the main synchronization primitive, instead of semaphore.
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