summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorBarak Korren <[email protected]>2013-04-01 15:08:21 +0300
committerBarak Korren <[email protected]>2013-04-01 15:08:21 +0300
commit8401101d5051c4ccad140fc4b062fa9c780d06d9 (patch)
tree68e5506498a5205bcb3372e956d7fe04c8c18a15 /include/rssfuncs.php
parentec8d46b29d9fd7bfee9f6edb5365996c1a88473a (diff)
Moved hard-coded fetch timeout values into config file to allow site-level tuning
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 3bce14d33..5c37b7523 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -284,7 +284,8 @@
}
$feed_data = fetch_file_contents($fetch_url, false,
- $auth_login, $auth_pass, false, $no_cache ? 15 : 45,
+ $auth_login, $auth_pass, false,
+ $no_cache ? FEED_FETCH_NO_CACHE_TIMEOUT : FEED_FETCH_TIMEOUT,
max($last_updated_timestamp, $cache_timestamp));
if ($debug_enabled) {