Is there a way to set a maxDepth for the population? So that I can protect my server from being overload.
When I tried to set maxDepth=2 and tried with depth=10 (localhost:1337/api/articles/6?populate=deep,10), the API server seemed to be stuck.
I think it takes too much time processing that request and blocks other requests because the depth is too much.
Maybe I can use a policy to check for this but it would be nice if we support this feature in this plugin.
Is there a way to set a maxDepth for the population? So that I can protect my server from being overload. When I tried to set maxDepth=2 and tried with depth=10 (localhost:1337/api/articles/6?populate=deep,10), the API server seemed to be stuck. I think it takes too much time processing that request and blocks other requests because the depth is too much.
Maybe I can use a policy to check for this but it would be nice if we support this feature in this plugin.