mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-08-26 15:08:03 -04:00
[PR #33] [CLOSED] feat: add internal ratelimiter for sending messages #64
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/33
Author: @sussycatgirl
Created: 1/16/2022
Status: ❌ Closed
Base:
master← Head:pr-1📝 Commits (3)
a026892feat: add internal ratelimiter for sending messagesf561c0ffix: minor ratelimiter fixesc11c539fix: use x-ratelimit-* headers📊 Changes
3 files changed (+118 additions, -6 deletions)
View changed files
📝
src/Client.ts(+15 -1)📝
src/maps/Channels.ts(+24 -5)➕
src/util/ratelimiter.ts(+79 -0)📄 Description
Delta does not return a
Retry-Afterheader yet, I'm leaving this as a draft until that's added🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.