Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/bitdrift_public/protobuf/client/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,10 @@ message HandshakeResponse {
uint32 configuration_update_status = 2;
}

// A general indication of rate limiting from server to client. Further configuration of what to do
// when limited can be added later.
// A general indication of rate limiting from server to client.
message RateLimited {
// Optional minimum retry backoff duration that the client should adhere to.
google.protobuf.Duration retry_after = 1;
}

// A response to an upload request, intended to ack or nack the success of the
Expand Down Expand Up @@ -469,8 +470,8 @@ message ErrorShutdown {
// The message that would have been sent in trailers.
string grpc_message = 2;

// Optional minimum retry backoff duration that the client should adhere to.
google.protobuf.Duration retry_after = 3;
// Optional rate limiting that the client should adhere to.
RateLimited rate_limited = 3;
}

// Called by the server to tell the client to flush a set of owned buffers. When this command is
Expand Down
Loading