Skip to content

Commit

Permalink
refactor: madsim
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Mar 5, 2024
1 parent 1f5e16f commit d85d7a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/curp/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ impl<C: Command, RC: RoleChange> Rpc<C, RC> {
storage: Arc<DB<C>>,
task_manager: Arc<TaskManager>,
client_tls_config: Option<ClientTlsConfig>,
sps: Vec<SpObject<C>>,
ucps: Vec<UcpObject<C>>,
) -> Result<(), crate::error::ServerError>
where
CE: CommandExecutor<C>,
Expand All @@ -311,6 +313,8 @@ impl<C: Command, RC: RoleChange> Rpc<C, RC> {
storage,
task_manager,
client_tls_config,
sps,
ucps,
)
.await;

Expand Down
2 changes: 2 additions & 0 deletions crates/simulation/src/curp_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ impl CurpGroup {
curp_storage,
task_manager,
None,
vec![Box::<TestSpecPool>::default()],
vec![Box::<TestUncomPool>::default()],
)
})
.build();
Expand Down

0 comments on commit d85d7a9

Please sign in to comment.