Skip to content

Commit

Permalink
Messages and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeling committed Nov 12, 2024
1 parent 3449c83 commit c8240d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion databroker/src/grpc/kuksa_val_v1/val.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ impl proto::val_server::Val for broker::DataBroker {
}
Err(SubscriptionError::InvalidInputBroadChannel) => Err(tonic::Status::new(
tonic::Code::InvalidArgument,
"Subscription lag_buffer_capacity value permitted is 1000",
"Subscription lag_buffer_capacity max allowed value is 1000",
)),
}
}
Expand Down
4 changes: 2 additions & 2 deletions databroker/src/grpc/kuksa_val_v2/val.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl proto::val_server::Val for broker::DataBroker {
Err(SubscriptionError::InternalError) => Err(tonic::Status::internal("Internal Error")),
Err(SubscriptionError::InvalidInputBroadChannel) => Err(tonic::Status::new(
tonic::Code::InvalidArgument,
"Subscription lag_buffer_capacity value permitted is 1000",
"Subscription lag_buffer_capacity max allowed value is 1000",
)),
}
}
Expand Down Expand Up @@ -355,7 +355,7 @@ impl proto::val_server::Val for broker::DataBroker {
}
Err(SubscriptionError::InvalidInputBroadChannel) => Err(tonic::Status::new(
tonic::Code::InvalidArgument,
"Subscription lag_buffer_capacity value permitted is 1000",
"Subscription lag_buffer_capacity max allowed value is 1000",
)),
}
}
Expand Down
2 changes: 2 additions & 0 deletions proto/kuksa/val/v2/val.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ service VAL {
// MAX_REQUEST_PATH_LENGTH: usize = 1000;
// - if lag_buffer_capacity exceeds the maximum permitted
// MAX_BROADCAST_CHANNEL_CAPACITY: usize = 1000;
// RESOURCE_EXHAUSTED if the capacity of the lag buffer has been exceeded
//
// When subscribing, Databroker shall immediately return the value for all
// subscribed entries.
Expand All @@ -76,6 +77,7 @@ service VAL {
// MAX_REQUEST_PATH_LENGTH: usize = 1000;
// - if lag_buffer_capacity exceeds the maximum permitted
// MAX_BROADCAST_CHANNEL_CAPACITY: usize = 1000;
// RESOURCE_EXHAUSTED if the capacity of the lag buffer has been exceeded
//
// When subscribing, Databroker shall immediately return the value for all
// subscribed entries.
Expand Down

0 comments on commit c8240d6

Please sign in to comment.