You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have non-blocking operations within the "Future _postBuilder".
For instance, if I want to get an author, comments + featuremedia according to the current implementation the postBuilder does this sequential, whereas it could do it parrallel without waiting for the response of the other operations.
An in the end it could wait for all other fetchOperations to join the final result?
Cheers,
The text was updated successfully, but these errors were encountered:
postBuilder is a nasty recursive function and I don't think it's good for any WordPress user who has a limit on their server as this function can generate as many http requests as it wants and its bad for concurrency (it can get to the hundreds of requests very easily). One solution might be creating a custom API endpoint with that data filtered.
Hi all,
first of all thank you for this fine plugin.
Is it possible to have non-blocking operations within the "Future _postBuilder".
For instance, if I want to get an author, comments + featuremedia according to the current implementation the postBuilder does this sequential, whereas it could do it parrallel without waiting for the response of the other operations.
An in the end it could wait for all other fetchOperations to join the final result?
Cheers,
The text was updated successfully, but these errors were encountered: