Skip to content

limithandler: Return structured errors

John Cai requested to merge jc-limithandler-return-structured-limits into master

In order to alert upstream clients that Gitaly has reached capacity, return a structured error of gitalypb.LimitError that clients like workhorse, gitlab-shell, and rails can parse and take action on.

fixes: #4197 (closed)

Changelog: changed

Edited by John Cai

Merge request reports