aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-04 03:06:34 -0700
committerFriendika <info@friendika.com>2011-10-04 03:06:34 -0700
commit07b09300a9aa6f10941b07dd289539b675d1e6ec (patch)
tree596e07b0597195662edce72e2c528031cb20d38b /include/poller.php
parent3deaafe320e43927f0b784ccbd25b7b8caf001f2 (diff)
downloadvolse-hubzilla-07b09300a9aa6f10941b07dd289539b675d1e6ec.tar.gz
volse-hubzilla-07b09300a9aa6f10941b07dd289539b675d1e6ec.tar.bz2
volse-hubzilla-07b09300a9aa6f10941b07dd289539b675d1e6ec.zip
improve feed import performance
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php
index 89a3408ec..427f8887c 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -486,11 +486,11 @@ function poller_run($argv, $argc){
}
- consume_feed($xml,$importer,$contact,$hub,1, true);
+ consume_feed($xml,$importer,$contact,$hub,1,1);
// do it twice. Ensures that children of parents which may be later in the stream aren't tossed
- consume_feed($xml,$importer,$contact,$hub,1);
+ consume_feed($xml,$importer,$contact,$hub,1,2);
$hubmode = 'subscribe';
if($contact['network'] === NETWORK_DFRN || $contact['blocked'] || $contact['readonly'])