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

Fix: simplify task deserialization code, don't deserialize resources when orjson fails #257

Merged
merged 3 commits into from
May 15, 2024

Conversation

psrok1
Copy link
Member

@psrok1 psrok1 commented May 14, 2024

  • It's not necessary to exclude backend (value is always valid, in case of parse_resources=False it's just unused)
  • Don't fallback from parse_resources=False to parse_resource=True equivalent when orjson fails to deserialize JSON

Edit: after discussion, we removed fallback to json at all

@psrok1 psrok1 force-pushed the fix/task-deserialize-fallback branch from c201501 to de6ee9a Compare May 14, 2024 15:46
@psrok1 psrok1 changed the title Fix: simplify task deserialization, don't deserialize resources when orjson fails Fix: simplify task deserialization code, don't deserialize resources when orjson fails May 14, 2024
@psrok1 psrok1 requested a review from msm-cert May 14, 2024 15:57
@psrok1 psrok1 merged commit 13857a0 into master May 15, 2024
6 checks passed
@psrok1 psrok1 deleted the fix/task-deserialize-fallback branch May 15, 2024 13:07
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.

2 participants