https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c31a6
)
Forgotten "+"
author
Michael
<heluecht@pirati.ca>
Thu, 8 Feb 2018 19:47:47 +0000
(19:47 +0000)
committer
Michael
<heluecht@pirati.ca>
Thu, 8 Feb 2018 19:47:47 +0000
(19:47 +0000)
src/Model/Queue.php
patch
|
blob
|
history
diff --git
a/src/Model/Queue.php
b/src/Model/Queue.php
index
4a29c8a
..
8b9e801
100644
(file)
--- a/
src/Model/Queue.php
+++ b/
src/Model/Queue.php
@@
-32,7
+32,7
@@
class Queue
// Calculate the delay until the next trial
$delay = (($retrial + 3) ** 4) + (rand(1, 30) * ($retrial + 1));
- $next = DateTimeFormat::utc('now ' . $delay . ' seconds');
+ $next = DateTimeFormat::utc('now
+
' . $delay . ' seconds');
dba::update('queue', ['last' => DateTimeFormat::utcNow(), 'retrial' => $retrial + 1, 'next' => $next], ['id' => $id]);
}