Ad Widget

Collapse

How to throttle media types

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • db100
    Member
    • Feb 2023
    • 62

    #1

    How to throttle media types

    Is it possible to make use of some {TRIGGER.LAST_EVENT_AT} or {TRIGGER.LAST_STATUS} macros inside a custom Media Type in order to implement throttling of notifications ?

    i am basically fine with the fact that one "wild" trigger creates lot of events one after the other, but i want to throttle the rate of outgoing notifications.

    in order to do that i need to retrieve some information from the previous trigger's event, and verify it was not too close to the current one, in which case i would discard the current one and not notify.

    is this possible as of right now ? or should notifications have the same frequencies of actions, which in turn can only be throttled inside triggers ?
Working...