aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-29 18:11:10 -0700
committerfriendica <info@friendica.com>2014-06-29 18:11:10 -0700
commitcc22c1da508aeadba38cae29ef942c4c153a14e2 (patch)
tree521162b1a8ba83b83a4c7c1d956902f38d7debdc /mod/dirsearch.php
parent1a715adb34c6a735202fa759de5b74fe0f20a4f8 (diff)
downloadvolse-hubzilla-cc22c1da508aeadba38cae29ef942c4c153a14e2.tar.gz
volse-hubzilla-cc22c1da508aeadba38cae29ef942c4c153a14e2.tar.bz2
volse-hubzilla-cc22c1da508aeadba38cae29ef942c4c153a14e2.zip
keep dirsync from exhausting memory
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 0ace4ecae..b612adcc5 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -176,7 +176,7 @@ function dirsearch_content(&$a) {
if($sync) {
$spkt = array('transactions' => array());
- $r = q("select * from updates where ud_date >= '%s' and ud_guid != '' order by ud_date desc",
+ $r = q("select * from updates where ud_date >= '%s' and ud_guid != '' group by ud_addr order by ud_date desc",
dbesc($sync)
);
if($r) {