Open sashman-jaspin opened 1 year ago
More and more people seems to face performance issue when exporting. Sounds like it's time to optimise 😌 I'll dig into that so your client won't run into the issue without being limited
Think it's more a limitation on strapi/db than your code for us at least, but thanks. You need a donation button. Have a budget for some of this stuff.
@Baboo7 Setting the maximum depth will be a very nice feature. I would also consider adding the ability to set a default depth. Most non-technical people don't change the default settings, and in our case 5 is too deep and lacks memory, 1 would be more than enough for most of our uses.
I have to admit that I didn't look into the code here but it seems to me that the issue is that the search also travels "up" the tree. Even if you make a limited export you pretty soon get the whole database if you have some items that are commonly referenced.
We have a very large deep database and the system will OOM and crash with an export of 4 or 5. This wouldn't be so bad except clients have access to strapi and will be using it to export data.
We'd like to have a way to set a default and max deepness setting. If it's in there I'm not seeing it.
Appreciate the plugin though, so far it's working great!