Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7534, comment 2


Ignore:
Timestamp:
06/01/2017 03:22:24 PM (7 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7534, comment 2

    initial v1  
    44* Twitter notifications technically are just mentions, and they go back seemingly forever
    55* LinkedIn went back about 3 months
     6
    67
    78We could:
     
    1112
    1213We'd probably need to use a cron job to clean these up, which we've avoided needing to use so far, because of known issues with the WPCron API on multisite.
     14
     15Other thoughts:
     16
     17* The query to remove notifications for all users based on their last activity is a scary one. We'd need to know the last_activity date for all users to purge the notifications table of old read ones across the board.
     18* I don't think deleting all read notifications that are over 30 days old makes sense, because that clean-up routine would need to run every day across all users
     19* If we are going to start running periodic clean-up routines, at the risk of making this a bigger deal, there are other things that could benefit (stale friend requests, groups, etc...)