summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-26 14:52:18 +0400
committerAndrew Dolgov <[email protected]>2012-11-26 14:52:18 +0400
commit8054439f47c8510a3064321807d78619b30350c9 (patch)
tree4baebaa083969228d1bcbaf4948e12fbcdc7ae2b /include
parent130b07810989fd32ffed47e543981d7f8ca52162 (diff)
wait a bit before initial content fetching
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php5
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'))