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

Limit the number of log lines buffered in the UI view #152

Merged
merged 1 commit into from
May 23, 2024

Conversation

AlCutter
Copy link
Contributor

This PR puts a (currently) hard-coded limit on the number of log lines the UI buffers.

This avoids very long-running instances of the hammer from gobbling up all the RAM.

@AlCutter AlCutter force-pushed the who_ate_all_the_memory branch from 4b822af to a40e8ed Compare May 23, 2024 14:38
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 28.24%. Comparing base (07aa77d) to head (a40e8ed).
Report is 62 commits behind head on main.

Files Patch % Lines
hammer/hammer.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #152       +/-   ##
===========================================
- Coverage   55.99%   28.24%   -27.75%     
===========================================
  Files           8       15        +7     
  Lines         759     1455      +696     
===========================================
- Hits          425      411       -14     
- Misses        265      965      +700     
- Partials       69       79       +10     

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

@AlCutter AlCutter merged commit 5be787d into transparency-dev:main May 23, 2024
9 checks passed
@AlCutter AlCutter deleted the who_ate_all_the_memory branch May 23, 2024 16:32
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