Cavalcade icon indicating copy to clipboard operation
Cavalcade copied to clipboard

Allow to not replay every missing events

Open Rahe opened this issue 5 years ago • 1 comments

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 avatar Jun 09 '20 07:06 Rahe

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,

Rahe avatar Oct 14 '20 11:10 Rahe