kerberos-io / kios

A Linux OS created by Buildroot which runs Kerberos Open Source out-of-the-box.
https://www.kerberos.io
Other
196 stars 38 forks source link

Webhooks throttling #16

Closed Responseless closed 6 years ago

Responseless commented 6 years ago

I would like to request a feature to manage web hooks sending multiple requests within a set time range of milliseconds.

traitors-gate commented 6 years ago

+1 ... when I use webhooks to alert my iPhone using IFTTT, I'm currently getting an alert every second. It would me good to have a webhook timeout setting e.g. Only post one message every X seconds.

cedricve commented 6 years ago

Good point guys, let's do this!

Stubbs commented 6 years ago

I would prefer to have 1 webhook triggered per event, at the moment my Node-red instance gets DDoS'd whenever Kerberos-io detects movement :-)

Perhaps a call when it detects a new event, and another when the event ends.

cedricve commented 6 years ago

Yes, we will add throttling but didn't found the time to implement it. Follow up here https://github.com/kerberos-io/machinery/issues/96.