Mercurial > dovecot > core-2.2
changeset 19192:fd83572bb229
example-config: Added imap_hibernate_timeout
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 23 Sep 2015 16:08:33 +0300 |
parents | 9e120590e0ef |
children | 8408209309ec |
files | doc/example-config/conf.d/20-imap.conf |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/example-config/conf.d/20-imap.conf Wed Sep 23 14:52:45 2015 +0300 +++ b/doc/example-config/conf.d/20-imap.conf Wed Sep 23 16:08:33 2015 +0300 @@ -2,6 +2,12 @@ ## IMAP specific settings ## +# If nothing happens for this long while client is IDLEing, move the connection +# to imap-hibernate process and close the old imap process. This saves memory, +# because connections use very little memory in imap-hibernate process. The +# downside is that recreating the imap process back uses some resources. +#imap_hibernate_timeout = 0 + # Maximum IMAP command line length. Some clients generate very long command # lines with huge mailboxes, so you may need to raise this if you get # "Too long argument" or "IMAP command line too large" errors often.