CFC-Servers / CFC-Servers/cfc_err_forwarder

Needs to respect Discord ratelimits

Open
#30 1 comment 0 reactions 1 assignee Claimed by @sarahsturgeon View on GitHub
bug enhancement
Dominant language
Lua
Stars
30
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The sender code should read and respect Discord rate-limit Headers to prevent lost webhooks.

### Dev notes
In this file: https://github.com/CFC-Servers/cfc_err_forwarder/blob/main/moon/cfc_err_forwarder/discord_interface.moon
It needs to return a function that queues the error for sending, and then start a queue processor that sends the errors as fast as the response headers allow it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.