Ticket #109: timeout-patch.txt

File timeout-patch.txt, 0.9 kB (added by Blair Zajac <blair@orcaware.com>, 2 years ago)
Line 
1 diff -ru ../tt-rss-1.2.2.orig/config.php-dist ./config.php-dist
2 --- ../tt-rss-1.2.2.orig/config.php-dist        2006-08-21 01:03:33.000000000 -0700
3 +++ ./config.php-dist   2006-09-12 10:31:34.000000000 -0700
4 @@ -12,10 +12,16 @@
5         define('RSS_BACKEND_TYPE', "magpie");
6         // magpie (stable) or simplepie (EXPERIMENTAL!)
7  
8 +       define('MAGPIE_FETCH_TIME_OUT', 60);
9 +       // Magpie's default timeout is 5 seconds.  Some RSS feeds,
10 +       // such as from large Trac installs, can take significantly
11 +       // longer than 5 seconds to generate.  To prevent failed
12 +       // updates, increase this.
13 +
14         define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
15         // Local cache directory for RSS feeds
16  
17 -       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache');
18 +       define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache');
19         // Local cache directory for RSS feeds (simplepie)
20  
21         define('WEB_DEMO_MODE', false);