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

Improve our slack api error handling and backoff #4878

Merged
merged 12 commits into from
Jun 27, 2024

Conversation

kevgliss
Copy link
Contributor

Removes sleep, defaults to exponential backoff. Respect slack API rate limiting.

@kevgliss kevgliss requested review from jschroth and wssheldon June 25, 2024 22:17
Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>
@kevgliss kevgliss added the enhancement New feature or request label Jun 25, 2024
Copy link
Contributor

@jschroth jschroth left a comment

Choose a reason for hiding this comment

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

small nits

kevgliss and others added 6 commits June 26, 2024 08:37
Co-authored-by: Jason Schroth <jrobsch@hotmail.com>
Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>
Co-authored-by: Jason Schroth <jrobsch@hotmail.com>
Co-authored-by: Jason Schroth <jrobsch@hotmail.com>
Co-authored-by: Jason Schroth <jrobsch@hotmail.com>
Copy link
Contributor

@jschroth jschroth left a comment

Choose a reason for hiding this comment

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

I believe there is a small logic error

Co-authored-by: Will Sheldon <114631109+wssheldon@users.noreply.github.com>
@kevgliss kevgliss merged commit aa168c9 into master Jun 27, 2024
7 checks passed
@kevgliss kevgliss deleted the chore/improve-slack-backoff branch June 27, 2024 18:19
metroid-samus pushed a commit that referenced this pull request Sep 25, 2024
* Improve our slack api error handling and backoff

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Jason Schroth <jrobsch@hotmail.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Jason Schroth <jrobsch@hotmail.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Jason Schroth <jrobsch@hotmail.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Jason Schroth <jrobsch@hotmail.com>

* Changes based on feedback

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Jason Schroth <jrobsch@hotmail.com>

* Update src/dispatch/plugins/dispatch_slack/service.py

* Update src/dispatch/plugins/dispatch_slack/service.py

Co-authored-by: Will Sheldon <114631109+wssheldon@users.noreply.github.com>

---------

Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>
Co-authored-by: Jason Schroth <jrobsch@hotmail.com>
Co-authored-by: Will Sheldon <114631109+wssheldon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants