wp-background-processing icon indicating copy to clipboard operation
wp-background-processing copied to clipboard

Question: sub-processes

Open Surgeonito opened this issue 8 years ago • 2 comments

Are there any constraints or limitations that could make impossible designing a background process that contains a set of background processes? I've made two attempts to make and had a problem with initiating subprocesses. Did anyone try anything similar?

Surgeonito avatar Dec 16 '16 07:12 Surgeonito

Yeah im getting the same - After running a process, I want to call another to perform another set of tasks, but the sub process is not executing. not getting any errors in the log either, so looks like the class is getting called but not sure why its not running..

filtah avatar Mar 16 '18 10:03 filtah

Make sure you're not instantiating the sub-task from within the main task.

I have it working where a once-off request is triggered which does an expensive data query which then kicks off a batch of expensive processing requests on the data.

markjaquith avatar Jul 06 '18 18:07 markjaquith

Closing ancient issue. :smile:

ianmjones avatar Apr 11 '23 15:04 ianmjones