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

handle rate-limit errors internally #15

Open
Xiphe opened this issue Jan 15, 2024 · 0 comments · May be fixed by #17
Open

handle rate-limit errors internally #15

Xiphe opened this issue Jan 15, 2024 · 0 comments · May be fixed by #17

Comments

@Xiphe
Copy link

Xiphe commented Jan 15, 2024

Currently when I get rate-limited, I get this result { status: false, message: undefined, data: '' }.

I'd suggest the client handles rate limits internally by retrying the request after 1s

Xiphe added a commit to Xiphe/Mailjs that referenced this issue Jan 15, 2024
Xiphe added a commit to Xiphe/Mailjs that referenced this issue Jan 15, 2024
@Xiphe Xiphe linked a pull request Jan 15, 2024 that will close this issue
Xiphe added a commit to Xiphe/Mailjs that referenced this issue Jan 15, 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 a pull request may close this issue.

1 participant