From cbd1ba8da2f89282d59b8a28457de7486d9f2ae4 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Nov 2020 06:23:27 +0000 Subject: [PATCH] Post delay is in seconds --- src/Protocol/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index ed3598e641..eb6f71ff50 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -629,7 +629,7 @@ class Feed foreach ($postings as $posting) { 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']]); $post_delay += $delay; }