summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-12 17:58:57 +0100
committerAndrew Dolgov <[email protected]>2006-09-12 17:58:57 +0100
commitbaef3dfe4b0f1c4f2349b53547d3ad92d6d056c0 (patch)
tree1fdb536ca877f475b4674c61d452cdeb7b2ee15b /config.php-dist
parent67b9c19aa03d19b561e26f48be09c7cb0b705a70 (diff)
add option to configure magpie fetch timeout (closes #109)
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.php-dist b/config.php-dist
index a50a51c4d..3f12ba439 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