From 8054439f47c8510a3064321807d78619b30350c9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 26 Nov 2012 14:52:18 +0400 Subject: wait a bit before initial content fetching --- include/rssfuncs.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index c273cc3c4..1a0eb5f1f 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -807,9 +807,12 @@ if ($cache_content) { if ($debug_enabled) { - _debug("update_rss_feed: caching content..."); + _debug("update_rss_feed: caching content (initial)..."); } + // give the publisher some time to put stuff online + sleep(10); + $entry_cached_content = cache_content($link, $entry_link, $auth_login, $auth_pass); if ($cache_images && is_writable(CACHE_DIR . '/images')) -- cgit v1.2.3