Skip to content

Conversation

@karenychen
Copy link
Collaborator

Set ReceiveInterval to be 0 when we receive less than requested to improve Processor efficiency

@serbrech
Copy link
Member

serbrech commented May 9, 2025

I think this is the wrong way around?

it's if we receive a number of message equal to what we requested that we can assume there is more on the queue waiting, so we should receive again right away.

if we receive less than the request, then it's likely that there is nothing left on the queue, so we can keep the interval until next receive.

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.

3 participants