You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a misnomer but the sleep() function controlled by the $this->identifier . '_seconds_between_batches' is actually between every task, and not every batch as the name of the filter would make you believe.
Having a sleep() function within the task itself is not necessary because you can just put one there in your child class task() function if need be.
Also I think you should be able to set this delay through a class property instead of a filter (or both).
The text was updated successfully, but these errors were encountered:
koen12344
added a commit
to koen12344/multisite-background-processing
that referenced
this issue
Jan 2, 2025
This might be a misnomer but the
sleep()
function controlled by the$this->identifier . '_seconds_between_batches'
is actually between every task, and not every batch as the name of the filter would make you believe.Having a
sleep()
function within the task itself is not necessary because you can just put one there in your child classtask()
function if need be.Also I think you should be able to set this delay through a class property instead of a filter (or both).
The text was updated successfully, but these errors were encountered: