foxcpp / foxcpp/maddy

limits support for target.smtp

Aperta
#757 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue new feature
Lingua principale
Go
Stelle
6.1k
Fork
327
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# Use case

Forwarding messages to external systems with ratelimits.

# Your idea for a solution

Add limits to target.smtp - the code will be very similar to target.remote.

As an alternative consider implementing target-agnostic "target.limited" wrapper.

Consider interaction with target.queue - might be a good idea to skip increasing retries if delivery fails due to timeout waiting on limits.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.