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

More fix to avoid shutdown pulling agent sending messages #7223

Merged
merged 3 commits into from
Aug 27, 2021

Conversation

benjaminpetit
Copy link
Member

No description provided.


async Task WaitUntilNoTimerRunning(CancellationToken token)
{
while (isTimerRunning && !token.IsCancellationRequested)
Copy link
Member

Choose a reason for hiding this comment

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

If we change the type of the field to IGrainTimer instead of IDisposable, can we use IGrainTimer.GetCurrentlyExecutingTickTask() instead?

Otherwise LGTM - feel free to merge

}
catch (Exception ex)
{
this.logger.LogWarning("Waiting for the last timer tick failed", ex);
Copy link
Member

Choose a reason for hiding this comment

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

I think exception should come before the message

@ReubenBond ReubenBond merged commit c364622 into dotnet:main Aug 27, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants