[Service Bus] Incorrect logs related to actionAfterWaitTimeout
- batching receiver
#12232
Labels
Milestone
actionAfterWaitTimeout
- batching receiver
#12232
actionAfterWaitTimeout
Timers are set at different times
totalWaitTimer = setTimeout(actionAfterWaitTimeout, args.maxWaitTimeInMs);
totalWaitTimer = setTimeout(actionAfterWaitTimeout, getRemainingWaitTimeInMs());
Consider the scenario - with the workflow
maxWaitTimeInMs = 10000
1000 ms
getRemainingWaitTimeInMs() = 1000 ms
Batching, max wait time in milliseconds 10000 over
which is wrong, it should instead say2000 ms
PS: Observed this while discussing the logs for #8875, #11633 with @anqyan (from the service-bus team)
TODO
Probably, pass the time as an argument for the
actionAfterWaitTimeout
just for the log statement and update the log statement accordingly.The text was updated successfully, but these errors were encountered: