diff options
author | Friendika <info@friendika.com> | 2011-10-04 03:06:34 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-04 03:06:34 -0700 |
commit | 07b09300a9aa6f10941b07dd289539b675d1e6ec (patch) | |
tree | 596e07b0597195662edce72e2c528031cb20d38b /include/poller.php | |
parent | 3deaafe320e43927f0b784ccbd25b7b8caf001f2 (diff) | |
download | volse-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.php | 4 |
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']) |