cancel
Showing results for 
Search instead for 
Did you mean: 

Quesiton for Activity Feed

joseph
Confirmed Champ
Confirmed Champ

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.

3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator

For question 2, you can add following properties in to your alfresco-global.properties file.

activities.feed.max.idRange=9000000 (choose a larger number than 1000000).

For question 1, I 'm sorry I don't understand what you want to achieve.

Thank you very much for your answer.

In the first point what I try to consult is: How can I  create only a feed entry instead of multiple ones. Because currently the number of feed entries is proportional to the number of users in the site. I just want the feed entry where the feedUser and the postUser are the same.

kaynezhang
World-Class Innovator
World-Class Innovator

By default recipients of this post include following:
1. followers of the post user
2. members of this site
3. post user himself.

There is a feed control feature which can set feed control (opt-out) for use for a site.
May be you can try to set a feed control for some users of a site.