I am using Azure Servicebus session based queue and the code we have used as listener is https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/sessionRoundRobin.js.
We are noticing a behavior where there are 2-3 messages in the queue, but not picked up by the listener for processing by the client and after 1 minute all the messages are processed at once.
Can anyone suggest why this unknow delay is happening, if there is any configuration on the client that might be causing this delay.