Skip to content

Add configurable middleware for server-side throttling #18

Add configurable middleware for server-side throttling

Add configurable middleware for server-side throttling #18

Triggered via pull request August 22, 2024 16:00
Status Failure
Total duration 3m 7s
Artifacts

lint.yml

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

Annotations

2 errors and 1 warning
lint (1.20): httpserver/middleware/throttle/middleware.go#L135
cyclomatic complexity 16 of func `makeRoutes` is high (> 15) (gocyclo)
lint (1.20)
issues found
lint (1.20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/