]> git.wh0rd.org - tt-rss.git/blob - tunables.php
Move tuning settings to different file so config.php isn't overcrowded
[tt-rss.git] / tunables.php
1 <?php
2 // this file contains default values for various setting that can be
3 // overridden in config.php
4 // It shoule always be "require()"-d after config.php to allow
5 // overriding, so please do not "require()" this file directly, it is
6 // alrady properly included from functions.php
7
8 // **************************************
9 // *** Update proces tuning settings ***
10 // **************************************
11
12 define_default('FEED_FETCH_TIMEOUT', 45);
13 // How may seconds to wait for response when requesting feed from a site
14 // You may need to decease this if you see errors like "MySQL server
15 // has gone away" pop up in your feed update logs after fetching feeds
16 // from slow websites
17
18 define_default('FEED_FETCH_NO_CACHE_TIMEOUT', 15);
19 // How may seconds to wait for response when requesting feed from a
20 // site when that feed wasn't cached before
21
22 define_default('FILE_FETCH_TIMEOUT', 45);
23 // Default timeout when fetching files from remote sites
24
25 define_default('FILE_FETCH_CONNECT_TIMEOUT', 15);
26 // How many seconds to wait for initial response from website when
27 // fetching files from remote sites
28 ?>