If your community is very active, Telligent Evolution can generate a large number of activity messages within a short period of time. By default, all activity message content is stored and kept forever. Since the volume of this content can negatively affect performance, we recommend that activity messages are automatically deleted if they are older than 30 days

To enable automatic activity message removal:

  1. Open the communityserver.config file located in the Web folder on your Web server.

  2. Navigate to the <Tasks> section:

    <Tasks>
        <Threads>
            <Thread
    minutes="15">

                 ...

                <!-- Enable this task to enable background deletion of old activity messages.
                expirationDays (int) = messages older than this number of days can be deleted
                minUserMessages (int) = the minimum number of messages a user should retain.  -->
                <task
                    name=
    "MessageRemovalTask"
                    type="CommunityServer.Messages.Tasks.MessageRemovalTask, CommunityServer.Messages"
                    expirationDays="30"
                    minUserMessages="30"
                    enabled=
    "false"
                    enableShutDown="false"
                    />

               ...

            </Thread>
        </Threads>
    </Tasks>

  3. Change the enabled="false" entry to enabled="true".

  4. You can change the default values for other configurable parameters from our recommendations (however, we do not recommend changing those not listed here):

    • expirationDays: age (in days) of activity messages that will automatically be deleted (default and recommended value is 30 days)

    • minUserMessages: minimum number of activity messages that should remain for each user, regardless of their age (default and recommend value is 30 activity messages)

  5. Save the file. The Telligent Tasks service automatically picks up the change and begins the automatic deletion of old activity messages.