diff --git a/apps/common/utils/verify_code.py b/apps/common/utils/verify_code.py index f9a721c89..7b2589f7d 100644 --- a/apps/common/utils/verify_code.py +++ b/apps/common/utils/verify_code.py @@ -30,7 +30,7 @@ class SendAndVerifyCodeUtil(object): self.other_args = kwargs def gen_and_send_async(self): - return send_async.delay(self) + return send_async.apply_async(kwargs={"sender": self}, priority=100) def gen_and_send(self): ttl = self.__ttl()