[buddypress-trac] [BuddyPress Trac] #7130: bp_notifications_get_all_notifications_for_user gets all records and can cause memory leak
buddypress-trac
noreply at wordpress.org
Mon Dec 18 05:04:07 UTC 2017
#7130: bp_notifications_get_all_notifications_for_user gets all records and can
cause memory leak
-------------------------------------+-----------------------------
Reporter: hberberoglu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Toolbar & Notifications | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------------------+-----------------------------
Comment (by mauteri):
I ran into same issue and was intending on putting in a new ticket, but
then checked and saw that it was already reported. I approached problem
differently in my patch, by simply passing another argument that is an
array that can address query itself (by passing per_page and page to limit
what is queried and what is cached as well).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7130#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list