diff options
author | Andrew Dolgov <[email protected]> | 2012-11-26 14:52:18 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-11-26 14:52:18 +0400 |
commit | 8054439f47c8510a3064321807d78619b30350c9 (patch) | |
tree | 4baebaa083969228d1bcbaf4948e12fbcdc7ae2b | |
parent | 130b07810989fd32ffed47e543981d7f8ca52162 (diff) |
wait a bit before initial content fetching
-rw-r--r-- | include/rssfuncs.php | 5 |
1 files changed, 4 insertions, 1 deletions
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')) |