Skip to content

Commit

Permalink
doc: TODO note on action_status batch_size = 1 fix
Browse files Browse the repository at this point in the history
TODO: revert on fix in consoled
  • Loading branch information
de-sh committed Jun 15, 2024
1 parent fa6ff49 commit 16b7e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uplink/src/base/bridge/actions_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ impl ActionsBridge {

let mut streams_config = HashMap::new();
let mut action_status = config.action_status.clone();

// TODO: Should be removed once action response batching is supported on platform
if action_status.batch_size > 1 {
warn!("Buffer size of `action_status` stream restricted to 1")
}
action_status.batch_size = 1;

streams_config.insert("action_status".to_owned(), action_status);
let mut streams = Streams::new(config.clone(), package_tx, metrics_tx);
streams.config_streams(streams_config);
Expand Down

0 comments on commit 16b7e4f

Please sign in to comment.