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

Documentation - clarify that tasks will run at the specified time or later #1034

Open
kkmuffme opened this issue Feb 23, 2024 · 1 comment
Open
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.

Comments

@kkmuffme
Copy link

From the docs it seems like that task are guaranteed to run at the scheduled time - however practically (when you have larger queues) this is never the case.
(besides the fact that the worker might not be running (since it depends on cron or wp-admin requests to get started)

Even on small-ish queues with fast actions (e.g. send a 5k newsletters) and multiple workers some of the tasks will execute up to 30 minutes later than scheduled.

While this isn't an issue for many applications and also how WP cron works, this isn't clear from the docs at all.

@coreymckrill coreymckrill added type: enhancement The issue is a request for an enhancement. priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. labels Feb 28, 2024
@coreymckrill
Copy link
Contributor

@kkmuffme thanks for the feedback. Where in the docs do you think would be best to put a clarification like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants