Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify queue serializer when creating Django RQ queue #630

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

sophcass
Copy link
Contributor

@sophcass sophcass commented Nov 16, 2023

Related to this issue: #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 sophcass force-pushed the sophie/specify-default-queue-serialiser branch from b952a7d to 1ee22f2 Compare November 16, 2023 21:25
@sophcass sophcass marked this pull request as draft November 17, 2023 12:57
@sophcass sophcass force-pushed the sophie/specify-default-queue-serialiser branch from 1ee22f2 to 438a0d1 Compare November 17, 2023 14:08
@sophcass sophcass marked this pull request as ready for review November 17, 2023 14:14
@sophcass sophcass changed the title Specify default queue serializer when creating Django RQ queue Specify queue serializer when creating Django RQ queue Nov 17, 2023
@sophcass
Copy link
Contributor Author

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 selwin merged commit 0272ebc into rq:master Nov 21, 2023
20 checks passed
@selwin
Copy link
Collaborator

selwin commented Nov 21, 2023

Thanks!

@sophcass
Copy link
Contributor Author

sophcass commented Nov 21, 2023

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

@selwin
Copy link
Collaborator

selwin commented Nov 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants