Yoast SEO blocking/re-initialising longer running process

I have created a custom plugin, the job of which is to calls an external API to fetch data and fill in some custom tables in WordPress database.

This is really a long-running process (maybe over 30 minutes) and for that, I also have updated the php.ini configuration file accordingly. But somehow the process is failing in a time interval (around 240 seconds).

While debugging this issue I found this strange thing that – the process is failing only when the popular plugin Yoast SEO is activated otherwise the job is finishing without any issues.

Another thing to mention is in each time interval of around 240 seconds the process is being re-initiated again and again.

Is there anything that Yoast SEO is blocking or any workaround of this problem?

0

Leave a Comment