feat: add error handling to email task (#30820)
This commit is contained in:
@@ -43,7 +43,7 @@ def check_pwned_password_and_send_track_event(user_id, password, internal_user=F
|
||||
return {} # lint-amnesty, pylint: disable=raise-missing-from
|
||||
|
||||
|
||||
@shared_task(bind=True)
|
||||
@shared_task(bind=True, default_retry_delay=30, max_retries=2)
|
||||
@set_code_owner_attribute
|
||||
def send_activation_email(self, msg_string, from_address=None):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user