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

Fixed ReceiveTimeout not triggered in some case when combined with NotInfluenceReceiveTimeout messages #3555

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

ismaelhamed
Copy link
Member

Port #24927

@@ -47,7 +47,7 @@ public void SetReceiveTimeout(TimeSpan? timeout=null)
public void CheckReceiveTimeout()
{
CancelReceiveTimeout();
if (_receiveTimeoutDuration != null && !Mailbox.HasMessages)
if (_receiveTimeoutDuration != null)
Copy link
Member Author

Choose a reason for hiding this comment

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

There were some performance concerns about this re-scheduling always now, but the PR was approved anyway.

Copy link
Member

Choose a reason for hiding this comment

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

I agree that this is the most straight forward way to implement it. I'm somewhat concerned about the performance implication of always rescheduling, but other solutions I can think of are too complicated and have other drawbacks.

I agree with what Patrik said.

@Aaronontheweb Aaronontheweb added this to the 1.3.9 milestone Jul 23, 2018
@Aaronontheweb Aaronontheweb merged commit d1c1efe into akkadotnet:dev Jul 23, 2018
cuteant pushed a commit to cuteant/akka.net that referenced this pull request Jul 29, 2018
…tnet#3553)

    take from akkadotnet@a19051a

* sharding log formatting fix (akkadotnet#3554)
    take from akkadotnet@f406bfd

* Fix ReceiveTimeout issue with NotInfluenceReceiveTimeout (akkadotnet#3555)
    take from akkadotnet@d1c1efe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants