From: Michael Date: Thu, 8 Feb 2018 19:47:47 +0000 (+0000) Subject: Forgotten "+" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1424559beeaf062b06c8278c719e2dd96b0179e0;p=friendica.git Forgotten "+" --- diff --git a/src/Model/Queue.php b/src/Model/Queue.php index 4a29c8aa4a..8b9e801c3f 100644 --- 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]); }