-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Don't call Azure queue GetProperties API unnecessarily #2613
Conversation
This PR reorders the logic of getting an Azure queue size in a way that skips the call to get the queue properties (for getting the ApproximateMessagesCount) if the queue has less than 32 messages. Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
/run-e2e azure-queue* |
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.
LGTM!,
Let's wait till e2e tests finish
Thanks for your contribution ❤️
/run-e2eazure-queue.test* |
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.
LGTM!
We will keep this PR open till we have released v2.6.1 because we'd like to release in it only bugfixes.
When we have release it, I'll ping you again for updating the changelog.
Thanks for your contribution ❤️
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.
LGTM!
We will keep this PR open till we have released v2.6.1 because we'd like to release in it only bugfixes.
When we have release it, I'll ping you again for updating the changelog.
Thanks for your contribution ❤️
hey @RamCohen |
Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
There is a conflict in the changelog. |
Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
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.
Hi @RamCohen ,
Only small nits 😄
Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
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.
❤️ ❤️ ❤️
This PR reorders the logic of getting an Azure queue size in a way
that skips the call to get the queue properties (for getting the
ApproximateMessagesCount) if the queue has less than 32 messages.
Signed-off-by: Ram Cohen ram.cohen@gmail.com