Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closure builder for inner managers of centralized. #2279

Merged
merged 9 commits into from
Jun 5, 2024

Conversation

rmalmain
Copy link
Collaborator

@rmalmain rmalmain commented Jun 5, 2024

the closures are different for the main node and the secondary nodes for finer-grained configuration.

@rmalmain rmalmain requested a review from tokatoka June 5, 2024 13:58
MIMF: FnOnce(&Self, CoreId) -> Result<(Option<S>, MIM), Error>,
{
let mut main_inner_mgr_builder = Some(main_inner_mgr_builder);
let mut client_inner_mgr_builder = Some(client_inner_mgr_builder);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

secondary_inner_mgr_builder?

i think main evaluator is client too,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes ur right its better

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll change other places where its not consistent with this notation

}

#[cfg(all(unix, feature = "std", feature = "fork"))]
impl<CF, MF, MT, S, SP> Debug for CentralizedLauncher<'_, CF, MF, MT, S, SP> {
impl<CF, CIM, MF, MIM, MT, S, SP> Debug for CentralizedLauncher<'_, CF, CIM, MF, MIM, MT, S, SP> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo cim should always be the same as mim. what do you think.
so we can delete mim and just keep cim

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@tokatoka tokatoka merged commit 399fbcc into main Jun 5, 2024
98 checks passed
@tokatoka tokatoka deleted the centralized_inner_mgr_closure branch June 5, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants