]> git.wh0rd.org Git - tt-rss.git/commitdiff
add option to configure magpie fetch timeout (closes #109)
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 12 Sep 2006 16:58:57 +0000 (17:58 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 12 Sep 2006 16:58:57 +0000 (17:58 +0100)
config.php-dist

index a50a51c4db2e6ccaf92aea2ec8c524bdc1f7d7de..3f12ba4393435d33941b9a8e50768a393bb1ae75 100644 (file)
        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