summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorBarak Korren <[email protected]>2013-04-01 16:05:48 +0300
committerBarak Korren <[email protected]>2013-04-01 16:05:48 +0300
commit32b7a340adb9c1acd209049512c0b5d53ed04276 (patch)
treeee606f7c734a0f6403d2fd0dda9d0a8ee6c6b8a9 /config.php-dist
parent83dff597ce2c4fa0c303b83c369392c4eb19bafa (diff)
parent8401101d5051c4ccad140fc4b062fa9c780d06d9 (diff)
Merge branch 'master' into tunable-fetches
Conflicts: include/rssfuncs.php
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.php-dist b/config.php-dist
index 6561ecbd4..72320bc5f 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -163,6 +163,27 @@
// 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) ***
// ***************************************