Skip to content

Commit

Permalink
Make 'split_gossip_messages' public (#2367)
Browse files Browse the repository at this point in the history
Needed for internal tests.
  • Loading branch information
fkouteib authored Aug 2, 2024
1 parent 749d6fd commit 1882cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ impl ClusterInfo {
/// max_chunk_size.
/// Note: some messages cannot be contained within that size so in the worst case this returns
/// N nested Vecs with 1 item each.
fn split_gossip_messages<I, T>(
pub fn split_gossip_messages<I, T>(
max_chunk_size: usize,
data_feed: I,
) -> impl Iterator<Item = Vec<T>>
Expand Down

0 comments on commit 1882cef

Please sign in to comment.