[buddypress-trac] [BuddyPress Trac] #8688: BP_Groups_Group::get_total_member_count() is highly inefficient, and runs out of memory

buddypress-trac noreply at wordpress.org
Fri May 6 05:59:33 UTC 2022


#8688: BP_Groups_Group::get_total_member_count() is highly inefficient, and runs
out of memory
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  10.3.0
Component:  Groups        |     Version:  10.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by dd32):

 Replying to [comment:12 imath]:
 > In
 [https://buddypress.trac.wordpress.org/attachment/ticket/8688/8688.2.patch
 8688.2.patch], I'm introducing the `bp_groups_defer_group_members_count()`
 function.

 I haven't tested it, but from reading the code and how it's implemented,
 this looks great to me!

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8688#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list