don't deliver on first pass if already queued

This commit is contained in:
Friendika 2011-08-29 17:52:31 -07:00
parent 177e0e15d7
commit 7e79b140f0
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
define ( 'FRIENDIKA_VERSION', '2.2.1086' );
define ( 'FRIENDIKA_VERSION', '2.2.1087' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1084 );

View File

@ -411,6 +411,7 @@ function notifier_run($argv, $argc){
proc_run('php','include/delivery.php',$cmd,$item_id,$contact['id']);
if($interval)
@time_sleep_until(microtime(true) + (float) $interval);
continue;
}
$deliver_status = 0;