Rate-limiting Blocks Discourse Workflow

Hi @Frully

Thank you for this great idea! It would definitely cover most of the use-cases that would’ve been blocked by the rate-limiting. I’ll definitely test it and see if I can get it to work as expected. I appreciate the SQL query you included and the workflow screenshot. Thank you!!


As for the core request of the topic above related to the rate-limiting, I still believe it would be very helpful if we could have a ‘queue’ and be able to decide the delay/wait-time between executions (instead of being limited by a 10 executions in a minute limit).

Regardless of the ‘use-case’ “grant badges” there will be other triggers such as sign-ups or other actions that might happen more than ten times a minute. For example, conference members or course learners signing up at the same minute… or for example the trigger could be ‘user seen’ and what if it happens that more than 10 members are first seen in the same minute (maybe as a result of an email campaign asking members to come check out something)…etc

The suggested solution “reduce how often its trigger fires” is not sufficient in many use cases.

Thank you!

1 Like