🔥 Feature: Loadshed middleware [Proportional Request Rejection Based on Probabilistic CPU Load] #4949
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)
|