fiveofswords / botc-bot

The bot for running games on the five of swords
2 stars 1 forks source link

Whisper lag when many players are talking at once #17

Closed jking-roar closed 3 months ago

jking-roar commented 4 months ago

When there are many players whispering at once the bot will lag.

Discord's api has a 50 requests per second rate limit API will return a HTTP 429 if it is exceeded, and the discord library handles the retries in that case, but requests get queued up and executed in sequence

Proposal:

K and X need determined

ratteler50 commented 3 months ago

Is this issue closable now that we've moved to whisper channel so it's not forking whispers to all STs?

jking-roar commented 3 months ago

I agree