]> git.wh0rd.org - tt-rss.git/blobdiff - config.php-dist
Moved hard-coded fetch timeout values into config file to allow site-level tuning
[tt-rss.git] / config.php-dist
index 6561ecbd4ffcf6029a6c0ecd00169a5b6eb4d5c9..72320bc5f7d19d6cd6993b8488facbf505d83fc2 100644 (file)
        // These two options enable SMTP authentication when sending
        // outgoing mail. Only used with SMTP_HOST
 
+       // **************************************
+       // *** Update proces tuning settings  ***
+       // **************************************
+
+       define('FEED_FETCH_TIMEOUT', 45);
+       // How may seconds to wait for response when requesting feed from a site
+       // You may need to decease this if you see errors like "MySQL server
+       // has gone away" pop up in your feed update logs after fetching feeds
+       // from slow websites
+
+       define('FEED_FETCH_NO_CACHE_TIMEOUT', 15);
+       // How may seconds to wait for response when requesting feed from a
+       // site when that feed wasn't cached before
+
+       define('FILE_FETCH_TIMEOUT', 45);
+       // Default timeout when fetching files from remote sites
+
+       define('FILE_FETCH_CONNECT_TIMEOUT', 15);
+       // How many seconds to wait for initial response from website when
+       // fetching files from remote sites
+
        // ***************************************
        // *** Other settings (less important) ***
        // ***************************************