globalvoices / NewsFrames-Code

Code for the NewsFrames Platform available at newsframes.org
https://newsframes.globalvoices.org
Other
2 stars 1 forks source link

Improve transactions time - 3.5 HOURS #19

Open sapraaman opened 6 years ago

sapraaman commented 6 years ago

Some actions take a lot of time, like inviting a collaborator. The reason is that emails are being sent in transaction, and not being scheduled for later. This should be fixed in my opinion (and look into other areas were emails are not being scheduled but sent immediately). 3 reasons:

Bad idea to delay a transaction run for a background job to finish, which does not involve database Even if email fails, the action still holds valid

Actions will become faster because they are not waiting for background job to finish

sapraaman commented 6 years ago

Old issue # 273