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

[Service Bus] Fix log message at actionAfterWaitTimeout #12322

Merged
merged 12 commits into from
Nov 10, 2020

Conversation

HarshaNalluru
Copy link
Member

@HarshaNalluru HarshaNalluru commented Nov 6, 2020

Issue #12232

@ghost ghost added the Service Bus label Nov 6, 2020
@HarshaNalluru HarshaNalluru marked this pull request as ready for review November 9, 2020 18:56
Copy link
Contributor

@chradek chradek left a comment

Choose a reason for hiding this comment

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

:shipit:

totalWaitTimer = setTimeout(actionAfterWaitTimeout, getRemainingWaitTimeInMs());
const remainingWaitTimeInMs = getRemainingWaitTimeInMs();
totalWaitTimer = setTimeout(() => {
actionAfterWaitTimeout(
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that the message is being passed to actionAfterWaitTimeout I'm not sure there's much value to even having actionAfterWaitTimeout be a separate function, but that's just a personal nit.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. @HarshaNalluru, can we inline the code from actionAfterWaitTimeout here?

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.

3 participants