revert that bit
This commit is contained in:
parent
b6ae56b069
commit
961049f5fa
@ -263,7 +263,7 @@ function poller_run($argv, $argc){
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
$contacts = q("SELECT abook_id, abook_flags, abook_network, abook_updated, abook_connected, abook_closeness, abook_xchan, abook_channel
|
$contacts = q("SELECT abook_id, abook_flags, abook_updated, abook_connected, abook_closeness, abook_xchan, abook_channel
|
||||||
FROM abook LEFT JOIN account on abook_account = account_id where 1
|
FROM abook LEFT JOIN account on abook_account = account_id where 1
|
||||||
$sql_extra
|
$sql_extra
|
||||||
AND (( abook_flags & %d ) OR ( abook_flags = %d ))
|
AND (( abook_flags & %d ) OR ( abook_flags = %d ))
|
||||||
@ -357,12 +357,6 @@ function poller_run($argv, $argc){
|
|||||||
if((! $update) && (! $force))
|
if((! $update) && (! $force))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// we handled feed contacts earlier - now filter out anything else that
|
|
||||||
// doesn't require polling to keep the process count down.
|
|
||||||
|
|
||||||
if($contact['abook_network'] !== 'zot')
|
|
||||||
continue;
|
|
||||||
|
|
||||||
proc_run('php','include/onepoll.php',$contact['abook_id']);
|
proc_run('php','include/onepoll.php',$contact['abook_id']);
|
||||||
if($interval)
|
if($interval)
|
||||||
@time_sleep_until(microtime(true) + (float) $interval);
|
@time_sleep_until(microtime(true) + (float) $interval);
|
||||||
|
Reference in New Issue
Block a user