aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-19 15:24:09 -0700
committerfriendica <info@friendica.com>2015-03-19 15:24:09 -0700
commit24ebaaf0f70f3452c72c0ac4017bff1144728da8 (patch)
tree1b9d60532db6488e2bf8e8191ab1d3fedd91f1b2
parent63683734a21e90149c464f7e9b03e7aedc29868e (diff)
downloadvolse-hubzilla-24ebaaf0f70f3452c72c0ac4017bff1144728da8.tar.gz
volse-hubzilla-24ebaaf0f70f3452c72c0ac4017bff1144728da8.tar.bz2
volse-hubzilla-24ebaaf0f70f3452c72c0ac4017bff1144728da8.zip
ratenotif: loop oddity
-rw-r--r--include/ratenotif.php18
-rw-r--r--version.inc2
2 files changed, 10 insertions, 10 deletions
diff --git a/include/ratenotif.php b/include/ratenotif.php
index 8be3b15b7..63fd7c2ee 100644
--- a/include/ratenotif.php
+++ b/include/ratenotif.php
@@ -94,21 +94,21 @@ function ratenotif_run($argv, $argc){
dbesc($n),
dbesc(json_encode($encoded_item))
);
- }
- $deliver[] = $hash;
- if(count($deliver) >= $deliveries_per_process) {
- proc_run('php','include/deliver.php',$deliver);
- $deliver = array();
- if($interval)
- @time_sleep_until(microtime(true) + (float) $interval);
- }
+ $deliver[] = $hash;
+ if(count($deliver) >= $deliveries_per_process) {
+ proc_run('php','include/deliver.php',$deliver);
+ $deliver = array();
+ if($interval)
+ @time_sleep_until(microtime(true) + (float) $interval);
+ }
+ }
// catch any stragglers
if(count($deliver)) {
- proc_run('php','include/deliver.php',$deliver);
+ proc_run('php','include/deliver.php',$deliver);
}
}
}
diff --git a/version.inc b/version.inc
index 72b6a49ab..f7702962e 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-03-18.975
+2015-03-19.976