Skip to content

Adding optional rate limit support.#249

Merged
thinkingserious merged 4 commits intomasterfrom
rate_limit
Dec 21, 2017
Merged

Adding optional rate limit support.#249
thinkingserious merged 4 commits intomasterfrom
rate_limit

Conversation

@andy-trimble
Copy link
Copy Markdown
Contributor

Added an asynchronous execution method that will retry in the event of a rate limit event.

This solves the following issue: #169

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 10, 2017
@andy-trimble
Copy link
Copy Markdown
Contributor Author

@thinkingserious @mbernier If this pattern is acceptable, I'll begin porting it to the other libraries.

@mbernier
Copy link
Copy Markdown
Contributor

Oh man this is cool.

@thinkingserious what was the process in the other lib? Was it sendgrid-csharp that built this in?

@mbernier mbernier added difficulty: hard fix is hard in difficulty hacktoberfest labels Oct 11, 2017
@andy-trimble
Copy link
Copy Markdown
Contributor Author

@mbernier Here's a potential Go implementation as well.

@thinkingserious
Copy link
Copy Markdown
Contributor

In C#: sendgrid/sendgrid-csharp#369
In PHP: sendgrid/sendgrid-php#453
Convo started in Ruby: sendgrid/sendgrid-ruby#119

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 16, 2017
@thinkingserious thinkingserious merged commit 0f23918 into master Dec 21, 2017
@thinkingserious
Copy link
Copy Markdown
Contributor

Hello @andy-trimble,

Thanks again for the PR!

We appreciate your contribution and look forward to continued collaboration. Thanks!

Team SendGrid DX

@thinkingserious
Copy link
Copy Markdown
Contributor

Fantastic work @andy-trimble!

If you get a moment, would you mind throwing an example in here? Thanks!

@childish-sambino childish-sambino deleted the rate_limit branch January 16, 2020 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

difficulty: hard fix is hard in difficulty status: code review request requesting a community code review or review from Twilio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants