File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/bitdrift_public/protobuf/client/v1 Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -325,9 +325,10 @@ message HandshakeResponse {
325325 uint32 configuration_update_status = 2 ;
326326}
327327
328- // A general indication of rate limiting from server to client. Further configuration of what to do
329- // when limited can be added later.
328+ // A general indication of rate limiting from server to client.
330329message RateLimited {
330+ // Optional minimum retry backoff duration that the client should adhere to.
331+ google.protobuf.Duration retry_after = 1 ;
331332}
332333
333334// A response to an upload request, intended to ack or nack the success of the
@@ -469,8 +470,8 @@ message ErrorShutdown {
469470 // The message that would have been sent in trailers.
470471 string grpc_message = 2 ;
471472
472- // Optional minimum retry backoff duration that the client should adhere to.
473- google.protobuf.Duration retry_after = 3 ;
473+ // Optional rate limiting that the client should adhere to.
474+ RateLimited rate_limited = 3 ;
474475}
475476
476477// Called by the server to tell the client to flush a set of owned buffers. When this command is
You can’t perform that action at this time.
0 commit comments