Commit c950cce4 authored by Felipe Andrade's avatar Felipe Andrade

fix http code for unhealthy backends

parent 71d66a62
......@@ -88,7 +88,7 @@ var (
ErrNotHealthy = &RPCErr{
Code: JSONRPCErrorInternal - 18,
Message: "backend is currently not healthy to serve traffic",
HTTPErrorCode: 429,
HTTPErrorCode: 503,
}
ErrBackendUnexpectedJSONRPC = errors.New("backend returned an unexpected JSON-RPC response")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment