X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fonepoll.php;h=a64922aa323e808576df96416335eaec910622ca;hb=c43a03e21bcd12b24be8a59741ec6591c1f651d7;hp=42bce0f685865a107ada7a8cac20d8be6b04208f;hpb=f8acb329616fbe17f8a0df9cfd84f92503359bce;p=friendica.git diff --git a/include/onepoll.php b/include/onepoll.php index 42bce0f685..a64922aa32 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -25,6 +25,7 @@ function onepoll_run($argv, $argc){ require_once('include/email.php'); require_once('include/socgraph.php'); require_once('include/pidfile.php'); + require_once('include/queue_fn.php'); load_config('config'); load_config('system'); @@ -54,6 +55,9 @@ function onepoll_run($argv, $argc){ return; } + if(was_recently_delayed($contact_id)) + return; + $d = datetime_convert(); // Only poll from those with suitable relationships, @@ -452,7 +456,7 @@ function onepoll_run($argv, $argc){ if($xml) { logger('poller: received xml : ' . $xml, LOGGER_DATA); - if(! strstr($xml,'