Skip to content

MaxWorkers in throttled background message processor is not respected #569

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 6 commits into
base: master
Choose a base branch
from

Conversation

phillip-haydon
Copy link
Contributor

@phillip-haydon phillip-haydon commented May 22, 2025

Should resolve #568

miquelbeltran
miquelbeltran previously approved these changes May 23, 2025
Copy link
Contributor

@miquelbeltran miquelbeltran 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 for adding the comments!

Copy link
Contributor

@miquelbeltran miquelbeltran left a comment

Choose a reason for hiding this comment

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

Seems good to me! A bit difficult to understand all the changes, but I appreciate also the inclusion of multiple new tests

Comment on lines +726 to +732
[Test]
public void ThrottledBackgroundMessageProcessor_VerifyBugCondition_DirectCheck()
{
// This test was designed to diagnose the bug condition
// Since the bug is now fixed, this test is no longer needed
Assert.Pass("Bug has been fixed - this diagnostic test is no longer applicable");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if there is an agreement to leave this in place, but I think it could be removed if the test is no longer necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha yeah. Just waiting on feedback from customer. If it’s all good I’ll cleanup the tests a bit.

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.

More than BackgroundMessageWorkerCount tasks can be actively trying to send
2 participants