Have an ability to throttle / debounce trigger

Aperta
#123 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start by finding where individual triggers are configured and where events are queued and executed; the issue does not name files or tests. Trace how trigger settings and event matching work, then assess how a configurable delay and de-duplication expression could replace a pending event. Done means matching events wait for the configured period and newer matching events replace the pending event.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
  • Each individual trigger would have an optional bounce period, and a de-duplication expression. eg 10 minutes + 'contextid or courseid'

  • If set then all events become async and wait for 10 mins before they are run

  • If any new event is triggered within the same time period and whose expression matches an existing event then it replaces the existing event

Lingua principale
PHP
Stelle
46
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di catalyst/moodle-tool_trigger

Tutte le issue di catalyst/moodle-tool_trigger

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.