Acually cleanThreshold spelling was incorrect in my configuration file Is due to this spelling mistake template clean was not happen earlier? Also what is the use of cleanThreshold ?
Yes, cleaning is not running at all if it isn't correct cleanThreshold
The meaning is the time, how long the reports should be persisted before cleaned up. If you put there 1d, it will mean that all reports older than one day will get deleted.
Also cleaning template means permanent delete or storing template temporarily in a particular folder?because i have seen below line in our log
2022-11-14T07:49:53.876Z - [34mdebug[39m: Writing extension locations cache to /tmp/jsreport/core/locations.json
It's a permanent delete from the template store and a blob from the blob storage.
Also I haven't seen template clean logs in our logs yet ie,
It needs to be there, otherwise, it doesn't run.
Also this log comes every minute (based on clean interval property value) right in our logs?
Yes
Unfortunately, I'm not sure what happens if the app starts to clean millions of records you may have there now. It expects to clean a small number of reports frequently. It may reach memory limits in your case now. You may need to clean it from the DB manually anyway, but let's see.