From: Andrew Dolgov Date: Mon, 26 Nov 2012 10:52:18 +0000 (+0400) Subject: wait a bit before initial content fetching X-Git-Tag: 1.6.2~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8054439f47c8510a3064321807d78619b30350c9;p=tt-rss.git wait a bit before initial content fetching --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index c273cc3c..1a0eb5f1 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'))