Skip to content
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

feat: add waitTime config field to azure queue storage event source #2996

Merged
merged 3 commits into from Jan 30, 2024

Conversation

eduardodbr
Copy link
Member

Checklist:

Azure queue storage eventsource is making the DequeueMessage API call in a loop, which might create a lot of requests per second if the message queue is empty. Since the azure SDK does not allow for waiting for a message when the queue is empty like AWS SQS does, this PR adds a new config field that allow to configure how much time it should wait (sleep) between empty results from the queue. It defaults to 3 seconds.

Signed-off-by: eduardodbr <eduardodbr@hotmail.com>
@eduardodbr
Copy link
Member Author

CI failing because of #2993

Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whynowy whynowy merged commit e948d73 into argoproj:master Jan 30, 2024
8 checks passed
whynowy pushed a commit that referenced this pull request Feb 13, 2024
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.

None yet

2 participants