From: Andrew Dolgov Date: Tue, 12 Sep 2006 16:58:57 +0000 (+0100) Subject: add option to configure magpie fetch timeout (closes #109) X-Git-Tag: 1.2.3~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=baef3dfe4b0f1c4f2349b53547d3ad92d6d056c0;p=tt-rss.git add option to configure magpie fetch timeout (closes #109) --- diff --git a/config.php-dist b/config.php-dist index a50a51c4..3f12ba43 100644 --- a/config.php-dist +++ b/config.php-dist @@ -12,6 +12,12 @@ define('RSS_BACKEND_TYPE', "magpie"); // magpie (stable) or simplepie (EXPERIMENTAL!) + define('MAGPIE_FETCH_TIME_OUT', 60); + // Magpie's default timeout is 5 seconds. Some RSS feeds, + // such as from large Trac installs, can take significantly + // longer than 5 seconds to generate. To prevent failed + // updates, increase this. + define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache'); // Local cache directory for RSS feeds