Skip to content

🔥 Feature: Loadshed middleware [Proportional Request Rejection Based on Probabilistic CPU Load] #4949

🔥 Feature: Loadshed middleware [Proportional Request Rejection Based on Probabilistic CPU Load]

🔥 Feature: Loadshed middleware [Proportional Request Rejection Based on Probabilistic CPU Load] #4949

Re-run triggered October 24, 2023 07:33
Status Failure
Total duration 51s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: middleware/loadshed/loadshed.go#L18
unused-receiver: method receiver 'r' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: middleware/loadshed/loadshed.go#L47
empty-lines: extra empty line at the start of a block (revive)
lint: middleware/loadshed/loadshed.go#L69
empty-lines: extra empty line at the end of a block (revive)