From baef3dfe4b0f1c4f2349b53547d3ad92d6d056c0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Sep 2006 17:58:57 +0100 Subject: [PATCH] add option to configure magpie fetch timeout (closes #109) --- config.php-dist | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5