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

Allow to not replay every missing events #99

Open
Rahe opened this issue Jun 9, 2020 · 1 comment
Open

Allow to not replay every missing events #99

Rahe opened this issue Jun 9, 2020 · 1 comment

Comments

@Rahe
Copy link

Rahe commented Jun 9, 2020

Hello,

In the case of the runner stopped for a moment, all the missing events will be played when it's back up.

Can we have an option to change it to the WordPress default behaviour ?

Nicolas,

@Rahe
Copy link
Author

Rahe commented Oct 14, 2020

Hello,

By replacing the line https://github.com/humanmade/Cavalcade/blob/master/inc/connector/namespace.php#L168
by $job->nextrun = time() + $event->interval; then all the events are relative to the current time like WordPress do.

How can we help to implement this ? a constant ? a method + filter to alter this ?

Nicolas,

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

No branches or pull requests

1 participant