Skip to content

Sleep _seconds_between_batches filter is inbetween individual tasks and not batches #127

@koen12344

Description

@koen12344

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.

afbeelding

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions