diaspora/diaspora — pull request #3968 by fabianrbz (2013-02-06 01:50:54+00:00)
Title: limit ShareablesFromPerson queries to improve performance

In this PR I added a limit to two queries to improve the performance of the request. The problem was that when this two queries were executed and depending on the number of posts the person has, a gigantic array was instantiated.

Cheers!