What's the best strategy for limiting the number of processes created using background_process_start()? I'm thinking that I could count the number of active tasks in the background_process table and add additional ones to a queue for processing later. Anyone ever done anything similar?

Comments

gielfeldt’s picture

Ultimate Cron 1.x does something similar by checking the number of processes in the background_process table.

gielfeldt’s picture

Status: Active » Closed (works as designed)