feat: add queue to celery task (#688)
This commit is contained in:
parent
396197e881
commit
0c18cab111
19 changed files with 20 additions and 19 deletions
|
|
@ -8,7 +8,7 @@ from flask import current_app
|
|||
from extensions.ext_mail import mail
|
||||
|
||||
|
||||
@shared_task
|
||||
@shared_task(queue='mail')
|
||||
def send_invite_member_mail_task(to: str, token: str, inviter_name: str, workspace_id: str, workspace_name: str):
|
||||
"""
|
||||
Async Send invite member mail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue