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
Daniel Spors edited this page Dec 19, 2023
·
2 revisions
Classes in file tasks/taskpool.class.php
class TaskPool
Collect large number of same tasks into a pool and let it manage the processing
without overloading the system.
To add Tasks to a pool simply Depend them on it:
INTERNAL Overwrites parent to fix 'run' method set up things.
AsyncOnce
INTERNAL Overwrites parent to fix 'run' method set up things.
Reusable
Creates a reusable TaskPool.
Will check the wdf_tasks table to see if there's already a Taskpool with the same name.
If so it will be used, else a new one will be created.
Definition: public static function Reusable($name)