rq / django-rq

A simple app that provides django integration for RQ (Redis Queue)
MIT License
1.81k stars 282 forks source link

Specify queue serializer when creating Django RQ queue #630

Closed sophcass closed 8 months ago

sophcass commented 8 months ago

Related to this issue: https://github.com/rq/django-rq/issues/626

We want to be able to add the serializer when creating the Django RQ queue. This serializer should then automatically be used when fetching the jobs so that we do not get DeserializationError in the Django RQ dashboard.

sophcass commented 8 months ago

Without setting the correct serializer when fetching the job, an Unpickling/Deserialization Error appears in place of the information. See here:

image

This is what the job details page looks like now that the correct serializer is being used:

image
selwin commented 8 months ago

Thanks!

sophcass commented 8 months ago

@selwin can we get create a release for the couple of changes that have been merged recently?

selwin commented 8 months ago

Yes, will try to cut a release sometime in the next few days.