-
Notifications
You must be signed in to change notification settings - Fork 228
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
Improve the control over rocket_rucss_pending_jobs_cron action #4960
Comments
GroomingReproduce the problem
and then refresh on admin UI multiple times till reaching two rows in AS tools page for our hook Identify the root cause We are not 100% sure about that but as mentioned in the Action Scheduler's issue here: woocommerce/action-scheduler#698 the issue is in this method: Lines 43 to 80 in 22b9aaf
so in some cases before scheduling the new action, our main hook to check if our hook is scheduled or not here: wp-rocket/inc/Engine/Common/Queue/AbstractASQueue.php Lines 48 to 50 in 1d35d6a
Scope a solution As mentioned in the issue itself we need to get the number of OR here: and I recommend the second location so if not Estimate the effort |
Describe the bug
Currently, we improved the behaviour described in the #4940 based on the woocommerce/action-scheduler#698 suggestions. However, we can improve it even further by adding a health check cron.
Expected behavior
We'll schedule a permanent action/cron that will check the number of
pending
orin-progress
rocket_rucss_pending_jobs_cron
actions:Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: