[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
Wed Apr 27 11:47:28 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     |
--------------------------+---------------------
Changes (by imath):

 * priority:  normal => high
 * version:   => 10.0.0


Comment:

 I see this is something we've modified during the 10.0.0 dev cycle in
 [13103] see:
 https://buddypress.trac.wordpress.org/changeset/13103/trunk/src/bp-
 groups/classes/class-bp-groups-group.php

 Before this change we were using a more straightforward query to get the
 count, so I believe there shouldn't be any downside with potential
 filters/meta data there.

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


More information about the buddypress-trac mailing list