From 72d5ae143fd71294efd37570bcaa3b436198ccde Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 7 Sep 2023 08:48:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20event=5Fpush=E5=90=8E=E7=BB=AD=E6=8E=A5?= =?UTF-8?q?=E7=9D=80=E6=8E=A8=E9=80=81=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ecm/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ecm/tasks.py b/apps/ecm/tasks.py index 75d323c2..276d6a22 100644 --- a/apps/ecm/tasks.py +++ b/apps/ecm/tasks.py @@ -216,4 +216,4 @@ def event_push(eventId: str): event.save() main_cate = event.cates.all().order_by('priority', 'create_time').first() unhandled_push_interval = main_cate.unhandled_push_interval - event_push.apply_async(eta=now + timedelta(seconds=unhandled_push_interval)) \ No newline at end of file + event_push.apply_async(args=[eventId], eta=now + timedelta(seconds=unhandled_push_interval)) \ No newline at end of file