[buddypress-trac] [BuddyPress Trac] #7245: Updating user last_activity doesn't bust activity query cache
    buddypress-trac 
    noreply at wordpress.org
       
    Wed Sep 14 02:06:10 UTC 2016
    
    
  
#7245: Updating user last_activity doesn't bust activity query cache
------------------------------------+---------------------------
 Reporter:  boonebgorges            |       Owner:  boonebgorges
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  2.7
Component:  Members                 |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------------
Changes (by boonebgorges):
 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed
Comment:
 In [changeset:"11101"]:
 {{{
 #!CommitTicketReference repository="" revision="11101"
 Activity: Invalidate query caches when a user's 'last_activity' is
 updated.
 User 'last_activity' is stored in the activity table, but not updated
 via the Activity API, so regular invalidation techniques do not work.
 In addition, 'last_activity' is quite frequently updated, meaning that
 the activity query cache becomes less valuable. To mitigate this, the
 current changeset separates the cache for queries containing
 'last_activity' from the cache for those that do not.
 Fixes #7245.
 }}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7245#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list