forked from GNUsocial/gnu-social
Remove filtering notice stream debug comments
This commit is contained in:
parent
391676863a
commit
0774ef456d
@ -74,8 +74,6 @@ abstract class FilteringNoticeStream extends NoticeStream
|
||||
|
||||
do {
|
||||
|
||||
common_debug(get_class($this) . ": ($offset, $limit) Round $round: fetching $askFor notices starting at $startAt");
|
||||
|
||||
$raw = $this->upstream->getNotices($startAt, $askFor, $sinceId, $maxId);
|
||||
|
||||
$results = $raw->N;
|
||||
@ -111,8 +109,6 @@ abstract class FilteringNoticeStream extends NoticeStream
|
||||
$askFor = max(min(intval(ceil(($total - $hits)*$startAt/$hits)), NOTICES_PER_PAGE * 50), NOTICES_PER_PAGE);
|
||||
}
|
||||
|
||||
common_debug(get_class($this) . ": ($offset, $limit) Round $round hits is $hits, results = $results.");
|
||||
|
||||
$round++;
|
||||
|
||||
} while (count($filtered) < $total && $results >= $lastAsk);
|
||||
|
Loading…
Reference in New Issue
Block a user