1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-09 19:49:15 +00:00

Moved hard-coded fetch timeout values into config file to allow site-level tuning

This commit is contained in:
Barak Korren
2013-04-01 15:08:21 +03:00
parent ec8d46b29d
commit 8401101d50
4 changed files with 27 additions and 5 deletions

View File

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