don't deliver on first pass if already queued
This commit is contained in:
		
					parent
					
						
							
								177e0e15d7
							
						
					
				
			
			
				commit
				
					
						7e79b140f0
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue