From cc22c1da508aeadba38cae29ef942c4c153a14e2 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 29 Jun 2014 18:11:10 -0700 Subject: keep dirsync from exhausting memory --- mod/dirsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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) { -- cgit v1.2.3