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

fix: additional mailbox selector method on Props #32082

Merged
merged 8 commits into from Sep 12, 2023
Merged

Conversation

Roiocam
Copy link
Contributor

@Roiocam Roiocam commented Sep 1, 2023

References #31862

Returning an empty mailbox is not a problem in PropsAdapter.

@Roiocam Roiocam marked this pull request as draft September 6, 2023 10:15
Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

looking good, just a few minor comments in the test

parentProbe.ref)

val childProbe = createTestProbe[ActorRef[Ping]]()
grandParent ! SpawnProtocol.Spawn(PingPong(), "child", Props.empty.withDispatcherSameAsParent, childProbe.ref)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems that the 'parent' and 'child' do not spawn with a vertical hierarchy, but rather a horizontal hierarchy.

Copy link
Member

Choose a reason for hiding this comment

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

yes, seems to be a mistake, it's spawning from grandParent twice

@Roiocam Roiocam changed the title fix: Configure the mailbox within a custom dispatcher fix: additional mailbox selector method on Props Sep 10, 2023
@Roiocam Roiocam marked this pull request as ready for review September 11, 2023 05:18
Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

parentProbe.ref)

val childProbe = createTestProbe[ActorRef[Ping]]()
grandParent ! SpawnProtocol.Spawn(PingPong(), "child", Props.empty.withDispatcherSameAsParent, childProbe.ref)
Copy link
Member

Choose a reason for hiding this comment

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

yes, seems to be a mistake, it's spawning from grandParent twice

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@johanandren johanandren merged commit 86f0be5 into akka:main Sep 12, 2023
6 checks passed
@Roiocam Roiocam deleted the main branch October 10, 2023 02:41
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

3 participants