optimize rate limiter for heavier load #180
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
|