I think it would be better to use a background task as that will not block. In your UI, simply notify the user about the long process. Don’t forget to set a long enough timeout
thanks a lot, i have decided to use scheduled events and i will try to divide the problem over several runs, any idea on how to set the timeout for a scheduled task??
Default on the long_job queue is 25 mins I believe. I don’t know if there is any way to extend it. If there isn’t a way to extend it, you may have to setup your own queue with longer timeouts.