Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
679 stars 131 forks source link

Notification emails sent during page processing #3069

Open jiru opened 11 months ago

jiru commented 11 months ago

We are currently sending emails from the backend during page processing. While this approach works most of the time, this is not very robust nor scalable as any problem during email submission can slow down load time or make it timeout entirely. An example of such problem: #3066.

Idea We can move email sending into a background task. It should be rather easy to do as we already have existing background tasks in src/Shell/Task/ one can get inspiration from.