Skip to content

Commit

Permalink
Expose replication groups at runtime (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyoeer authored Nov 27, 2024
1 parent 031bef8 commit 719b848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Make `core::replication::replication_rules::ReplicationRules` public.
- Various optimizations for replication messages to use fewer bytes.
- Accept `Vec<u8>` instead of `Cursor<Vec<u8>>` for serialization.
- `ConnectedClients` now store `ConnectedClient` instead of `ClientId` with more information about the client.
Expand Down
2 changes: 1 addition & 1 deletion src/core/replication/replication_rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl AppRuleExt for App {

/// All registered rules for components replication.
#[derive(Default, Deref, Resource)]
pub(crate) struct ReplicationRules(Vec<ReplicationRule>);
pub struct ReplicationRules(Vec<ReplicationRule>);

impl ReplicationRules {
/// Inserts a new rule, maintaining sorting by their priority in descending order.
Expand Down

0 comments on commit 719b848

Please sign in to comment.