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: Avoid publishing post when there is no change #140

Merged
merged 1 commit into from
May 3, 2024

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented May 3, 2024

In the Job::DetectTranslation, sometimes missing "detection" can lead to the post getting published again despite there being no changes. This then causes the post to re-serialize, and enqueue Job::DetectTranslation again. 🔥

This PR ensures that post publishing only happens if there was a change in the custom fields.

@nattsw nattsw merged commit 0de3f3f into main May 3, 2024
3 checks passed
@nattsw nattsw deleted the prevent-job-queue-when-empty branch May 3, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants