meirim-org / meirim

Meirim is an open-source smart city application that facilitates transparency in urban planning.
MIT License
56 stars 24 forks source link

Extract send deposit email (status) to send_email job #723

Open GalGend opened 1 year ago

GalGend commented 1 year ago

Currently, we have the send status email as part of the fetch_status process.

Due to performance issues, we want to have them separated, similar to send_emails process.

we want to have a process called send_status_process, that runs on new statuses, and figures out whether an email should be sent.

An email should be sent if: It's the first status in the category User is subscribed to that plan

yaelal commented 1 year ago

@GalGend i have code in pr that changes this process, can we merge first? we can turn off the feature if u want