8000 Duplicate response issues by mapogolions · Pull Request #184 · anthdm/hollywood · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Duplicate response issues #184

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mapogolions
Copy link
Contributor
@mapogolions mapogolions commented Feb 2, 2025

The PR reproduces certain issues caused by responding to a request.

Scenario:

  • Actor 1 sends a message using c.Request.
  • Actor 2 receives the message from its mailbox.
  • Actor 2 processes the message.
  • Actor 2 sends a response using c.Send(ctx.Sender, ...) or c.Respond().

Issue:

If Actor 2, either due to an error or intentionally, sends multiple responses, and Actor 1 is busy and delays retrieving the result, Actor 2 may become blocked, preventing it from processing new incoming messages.

To review the problem, check out the corresponding commit.

@anthdm
Copy link
Owner
anthdm commented Feb 25, 2025

I'm looking into this. Thanks for the PR.

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.

2 participants
0