]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Added imap_hibernate_timeout
authorTimo Sirainen <tss@iki.fi>
Wed, 23 Sep 2015 13:08:33 +0000 (16:08 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 23 Sep 2015 13:08:33 +0000 (16:08 +0300)
doc/example-config/conf.d/20-imap.conf

index 918c78abd595cea4a09ae1a5245ddc456a1175ee..b7dd95dfa0e91233f5d10888cea95640c24c706c 100644 (file)
@@ -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.