docker-offlineimap/offlineimap
Nicolas Sebrecht e753766284 sqlite: close the database when no more threads need access
It's required to have more than one connection to the database for the
maxconnections configuration option to work with threads. However,
connection.close() is closing all the connections. Only close the connection
when no more thread need it.

Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/350
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-07-22 16:30:38 +02:00
..
folder sqlite: close the database when no more threads need access 2016-07-22 16:30:38 +02:00
repository fix: configparser does not know about python types like u"" 2016-07-13 14:02:25 +02:00
ui learn to not download UIDs defined by the user 2016-07-03 20:02:45 +02:00
utils Make OS-default CA certificate file to be requested explicitely 2015-01-18 22:05:49 +03:00
__init__.py v7.0.0-rc5 2016-07-12 16:15:33 +02:00
accounts.py learn --delete-folder CLI option 2016-07-08 21:34:25 +02:00
bundled_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00
CustomConfig.py correctly reraise errors with six 2016-07-03 19:56:14 +02:00
emailutil.py Rename email.Parser to email.parser 2016-05-10 02:53:09 +02:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
imaplibutil.py correctly reraise errors with six 2016-07-03 19:56:14 +02:00
imapserver.py correctly reraise errors with six 2016-07-03 19:56:14 +02:00
imaputil.py Add workaround for string.split for Python3 2016-05-10 02:53:09 +02:00
init.py --info: allow user to enter a password 2016-07-22 01:44:38 +02:00
localeval.py localeval: avoid redefining 'file' keyword 2015-01-14 17:18:48 +01:00
mbnames.py mbnames: fix the filename extension for the intermediate files 2016-07-06 01:15:33 +02:00
threadutil.py threadutil: use 'with' statements for lock 2016-07-03 20:03:14 +02:00
virtual_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00