Skip to content

optimize rate limiter for heavier load #180

optimize rate limiter for heavier load

optimize rate limiter for heavier load #180

Triggered via pull request December 6, 2024 16:03
Status Failure
Total duration 2m 47s
Artifacts

ci.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
lint: v1/rate_limit.go#L41
mnd: Magic number: 2, in <argument> detected (gomnd)
lint: v1/rate_limit.go#L102
S1000: should use for range instead of for { select {} } (gosimple)
lint
issues found
Tests (1.22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636