Lack of interest resumeLater() function added to AbstractJob

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Sim

Well-known member
Loving the resumable job functionality in XF2 - especially the ability to have a job "sleep" for a while by setting the continueDate.

Would be even more fun to use if we had a function in XF\Job\AbstractJob called something like resumeLater(), for example:

PHP:
    public function resumeLater($timestamp)
    {
        $job = $this->resume();
        $job->continueDate = $timestamp;

        return $job;
    }

FYI - using this functionality to handle large batch jobs involving calls to 3rd party web services where there is the potential to be rate limited - being able to delay resumption of processing is very useful.
 
Last edited:
Upvote 3
This suggestion has been closed. Votes are no longer accepted.
Top Bottom