amoeba / TownCrier

Webhook plugin for Decal
MIT License
11 stars 4 forks source link

Consider a webhook send queue to avoid spamming endpoints #28

Open amoeba opened 5 years ago

amoeba commented 4 years ago

From Brycter:

I think when you have clumped messages town crier misses some

Maybe add a check to make sure nothing was missed?

So I used thwargle filter to send out messages in /a or /cg sometimes I noticed in discord some were not caught figured it was a timing thing Was thinking some form of buffer could be used to check against in game chat boxes to make sure what was there matches what goes to the web hook

It'd be good to test if I can get Discord to drop webhook requests under certain circumstances such as rate or size. Then see if I can build in a configurable windowing system to ensure no more than some number of webhook requests get sent during an interval.