Hello everyoneI have a problem, when a person performs an activity within a site, many logs of the activity are generated for all other members of the site to which that person belongs. I have identified that the activity table is: alf_activity_feed.
On the other hand when the table has more than 1000000 records, start to delete the oldest, I would like to know how to avoid it.
Questions:
1. How to make only the actions that have the post_user_id and feed_user_id fields registered in the activity table are the same.
2. How to prevent the information in the alf_activity_feed table from being deleted when it is close to 1000000 records.
Thank you very much.