-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Service Bus] Fix log message at actionAfterWaitTimeout
#12322
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
totalWaitTimer = setTimeout(actionAfterWaitTimeout, getRemainingWaitTimeInMs()); | ||
const remainingWaitTimeInMs = getRemainingWaitTimeInMs(); | ||
totalWaitTimer = setTimeout(() => { | ||
actionAfterWaitTimeout( |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
…luru/azure-sdk-for-js into harshan/sb/issue/12232
…to harshan/sb/issue/12232
Issue #12232