Skip to content

Check if rate limiter is initialized before use - #551

Merged
AlCutter merged 1 commit into
transparency-dev:mainfrom
Hayden-IO:patch-2
Jun 12, 2026
Merged

Check if rate limiter is initialized before use#551
AlCutter merged 1 commit into
transparency-dev:mainfrom
Hayden-IO:patch-2

Conversation

@Hayden-IO

Copy link
Copy Markdown
Contributor

If the rate_limit flag is not specified, then the limiter will not be initialized. This will cause a panic at request time.

If the `rate_limit` flag is not specified, then the limiter will not be initialized. This will cause a panic at request time.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 23.02%. Comparing base (8df5d0f) to head (a6bd152).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
omniwitness/omniwitness.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #551   +/-   ##
=======================================
  Coverage   23.02%   23.02%           
=======================================
  Files          30       30           
  Lines        2063     2063           
=======================================
  Hits          475      475           
  Misses       1499     1499           
  Partials       89       89           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AlCutter AlCutter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@AlCutter
AlCutter merged commit 9ccbfe3 into transparency-dev:main Jun 12, 2026
13 checks passed
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