-
Notifications
You must be signed in to change notification settings - Fork 2
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
ES check_page_status cron event is never cleared #379
Labels
bug
Existing functionality isn't behaving as expected
Comments
roborourke
added a commit
that referenced
this issue
Apr 23, 2021
The `wp_next_scheduled()` response appears to be subject to caching so for custom cron job intervals such as 1 minute in this case the next scheduled time can be too old for it to ever match the actual next event. This means the current method for clearing the scheduled task fails silently. Using clear scheduled hook is more appropriate here because it is the arguments that are unique to the task. Fixes #379
hm-backport bot
pushed a commit
that referenced
this issue
Apr 23, 2021
The `wp_next_scheduled()` response appears to be subject to caching so for custom cron job intervals such as 1 minute in this case the next scheduled time can be too old for it to ever match the actual next event. This means the current method for clearing the scheduled task fails silently. Using clear scheduled hook is more appropriate here because it is the arguments that are unique to the task. Fixes #379
hm-backport bot
pushed a commit
that referenced
this issue
Apr 23, 2021
The `wp_next_scheduled()` response appears to be subject to caching so for custom cron job intervals such as 1 minute in this case the next scheduled time can be too old for it to ever match the actual next event. This means the current method for clearing the scheduled task fails silently. Using clear scheduled hook is more appropriate here because it is the arguments that are unique to the task. Fixes #379
hm-backport bot
pushed a commit
that referenced
this issue
Apr 23, 2021
The `wp_next_scheduled()` response appears to be subject to caching so for custom cron job intervals such as 1 minute in this case the next scheduled time can be too old for it to ever match the actual next event. This means the current method for clearing the scheduled task fails silently. Using clear scheduled hook is more appropriate here because it is the arguments that are unique to the task. Fixes #379
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After updating or editing an Elasticsearch config package such as synonyms or stopwords the cron task to check the status every minute is never cleared once the status is ACTIVE or some other completed / failed state.
The text was updated successfully, but these errors were encountered: