Post delay is in seconds
This commit is contained in:
parent
a7e0a1f7de
commit
cbd1ba8da2
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ class Feed
|
||||||
|
|
||||||
foreach ($postings as $posting) {
|
foreach ($postings as $posting) {
|
||||||
if ($delay > 0) {
|
if ($delay > 0) {
|
||||||
$publish_at = DateTimeFormat::utc('now + ' . $post_delay . ' minute');
|
$publish_at = DateTimeFormat::utc('now + ' . $post_delay . ' second');
|
||||||
Logger::notice('Got publishing date', ['delay' => $delay, 'publish_at' => $publish_at, 'cid' => $contact['id'], 'url' => $contact['url']]);
|
Logger::notice('Got publishing date', ['delay' => $delay, 'publish_at' => $publish_at, 'cid' => $contact['id'], 'url' => $contact['url']]);
|
||||||
$post_delay += $delay;
|
$post_delay += $delay;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue