Skip to content

Conversation

@flier
Copy link
Owner

@flier flier commented Oct 24, 2024

solve #62

hi @martinmr,

I think you can try this PR, the default handle.mapSize is runtime.NumCPU() * 2, you can change it use build option --ldflags="-X 'github.com/flier/gohs/internal/handle.mapSize=64'"

@flier flier merged commit b369d39 into master Dec 1, 2024
26 of 29 checks passed
@codecov
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Project coverage is 51.56%. Comparing base (bd57fbb) to head (3df6eca).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
internal/handle/handle.go 84.61% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   51.34%   51.56%   +0.21%     
==========================================
  Files          36       37       +1     
  Lines        2152     2174      +22     
==========================================
+ Hits         1105     1121      +16     
- Misses        924      927       +3     
- Partials      123      126       +3     

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

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