summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-26 17:06:23 +0000
committeralecpl <alec@alec.pl>2008-10-26 17:06:23 +0000
commit95d90f86d9c5482b531092776181943c9bf57642 (patch)
tree53fce503e46e85f1a3e6c96b97f771bf86ea34f1 /config
parent7ce1931bbbb740edf2e95a5eaa64959b0be07269 (diff)
- Added 'keep_alive' and 'min_keep_alive' options (#1485360)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist17
1 files changed, 13 insertions, 4 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 8a6c2966a..7d820c479 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -107,17 +107,18 @@ $rcmail_config['smtp_helo_host'] = '';
// Log sent messages
$rcmail_config['smtp_log'] = TRUE;
-// how many seconds must pass between emails sent by a user
+// How many seconds must pass between emails sent by a user
$rcmail_config['sendmail_delay'] = 0;
-// these cols are shown in the message list
+// These cols are shown in the message list
// available cols are: subject, from, to, cc, replyto, date, size, encoding, flag
$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag');
-// includes should be interpreted as PHP files
+// Includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = FALSE;
-// session lifetime in minutes
+// Session lifetime in minutes
+// must be greater than 'keep_alive'/60
$rcmail_config['session_lifetime'] = 10;
// check client IP in session athorization
@@ -327,6 +328,10 @@ $rcmail_config['log_logins'] = false;
*/
$rcmail_config['delete_always'] = false;
+// Minimal value of user's 'keep_alive' setting (in seconds)
+// Must be less than 'session_lifetime'
+$rcmail_config['min_keep_alive'] = 60;
+
/***** these settings can be overwritten by user's preferences *****/
// skin name: folder from skins/
@@ -390,5 +395,9 @@ $rcmail_config['read_when_deleted'] = TRUE;
// false causes deleted messages to be permanantly removed if there is no Trash folder
$rcmail_config['flag_for_deletion'] = FALSE;
+// Default interval for keep-alive/check-recent requests (in seconds)
+// Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime'
+$rcmail_config['keep_alive'] = 60;
+
// end of config file
?>