summaryrefslogtreecommitdiff
path: root/roundcubemail/config
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-26 17:06:23 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-26 17:06:23 +0000
commit5038c057b65cf0c3e263bcf06e5999b6ab4589c8 (patch)
treef86f8c9e5bc36ad015972d48ebcb4a962449b72c /roundcubemail/config
parent5a32b534095d4ac41fa4efd4b908c0f662203c89 (diff)
- Added 'keep_alive' and 'min_keep_alive' options (#1485360)
git-svn-id: https://svn.roundcube.net/trunk@2013 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/config')
-rw-r--r--roundcubemail/config/main.inc.php.dist17
1 files changed, 13 insertions, 4 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist
index 8a6c2966a..7d820c479 100644
--- a/roundcubemail/config/main.inc.php.dist
+++ b/roundcubemail/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
?>