Browse Source

don't deliver on first pass if already queued

pull/1/head
Friendika 9 years ago
parent
commit
7e79b140f0
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      boot.php
  2. +1
    -0
      include/notifier.php

+ 1
- 1
boot.php 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 );


+ 1
- 0
include/notifier.php 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;


Loading…
Cancel
Save