Limit on fs store
-
Is there a way to set a limit on how many reports are stored after they are ran?
-
Do you mean the profiles/logs? This can be limited with this config. Default 1000
{ "profiler": { "maxProfilesHistory": 1000 } }
-
Hi, I tried that and it didn't work. I was hoping for a way to limit the data->storage->reports directory because I'm running reports every 5-10 minutes and that directory gets full quick. If there is not an idiomatic approach, I can just write something. thanks,
-
I see, so you use the reports extension to store the rendering outputs. You can find in the docs the cleaning configs here
https://jsreport.net/learn/reports#cleanup
-
Thanks, thats exactly what I was looking for.
-
Is there a way to purge the scheduled task history as well? The tasks file gets pretty large as well.
Screenshot 2024-11-18 at 11.35.06 AM.png
-
This is documented here
https://jsreport.net/learn/scheduling#configuration