Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
This commit is contained in:
@ -10,6 +10,8 @@ class NotifyService < BaseService
|
||||
|
||||
create_notification
|
||||
send_email if email_enabled?
|
||||
rescue ActiveRecord::RecordInvalid
|
||||
return
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user