It's better to pass simple things to tasks via celery. Here you're passing a ORM queryset? Can we change this to only pass a list of IDs instead? Celery will be much happier and it'll be less fragile.