fix: event_push后续接着推送的bug

This commit is contained in:
caoqianming 2023-09-07 08:48:33 +08:00
parent 95380fa826
commit 72d5ae143f
1 changed files with 1 additions and 1 deletions

View File

@ -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))
event_push.apply_async(args=[eventId], eta=now + timedelta(seconds=unhandled_push_interval))