summaryrefslogtreecommitdiffstats
path: root/offlineimaprc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-06-09 12:35:31 -0400
committerJesse Luehrs <doy@tozt.net>2014-06-09 16:09:21 -0400
commit92a4a622cbd76f7bb8d74f802bb35b2d7ebb22ec (patch)
treed9e46efd0d43ae9c4f2b135a8e99a002defd62ac /offlineimaprc
parentcd00012be3e80dcb74ae3ae977722349c5112317 (diff)
downloadconf-92a4a622cbd76f7bb8d74f802bb35b2d7ebb22ec.tar.gz
conf-92a4a622cbd76f7bb8d74f802bb35b2d7ebb22ec.zip
set a socket timeout for offlineimap
without this, offlineimap hangs whenever the network goes away (due to suspend or whatever). without this set, the socket never times out, even if the connection no longer exists, and offlineimap defers signals until all connections are cleaned up, so it just permanently hangs. see OfflineIMAP/offlineimap#56.
Diffstat (limited to 'offlineimaprc')
-rw-r--r--offlineimaprc1
1 files changed, 1 insertions, 0 deletions
diff --git a/offlineimaprc b/offlineimaprc
index 189f6a3..d0ae499 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -5,6 +5,7 @@ fsync = false
status_backend = sqlite
pythonfile = ~/.offlineimap/pass.py
ui = basic
+socktimeout = 10
[Account main]
localrepository = main-local