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
15 changes: 7 additions & 8 deletions crates/store/re_ws_comms/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use parking_lot::Mutex;
use polling::{Event, Poller};
use tungstenite::WebSocket;

use re_log_types::LogMsg;
use re_log_types::{LogMsg, StoreKind};
use re_memory::MemoryLimit;
use re_smart_channel::ReceiveSet;

Expand Down Expand Up @@ -378,13 +378,12 @@ impl ReceiveSetBroadcaster {
}
});

let msg_is_data = matches!(data, LogMsg::ArrowMsg(_, _));
if msg_is_data {
inner.history.push(msg);
} else {
// Keep non-data commands around for clients late to the party.
inner.history.push_static(msg);
}
match data {
LogMsg::ArrowMsg(store_id, _) if store_id.kind != StoreKind::Blueprint => {
inner.history.push(msg);
}
_ => inner.history.push_static(msg),
};
}

re_smart_channel::SmartMessagePayload::Flush { on_flush_done } => {
Expand Down
Loading