wait a bit before initial content fetching

This commit is contained in:
Andrew Dolgov 2012-11-26 14:52:18 +04:00
parent 130b078109
commit 8054439f47

View file

@ -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'))