From 9569aba3acfa2723490690943cbdf1b017213acc Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 12 Feb 2014 12:40:04 -0400 Subject: suggest bigger threadpool to reactors that honor it --- mail/src/leap/mail/imap/service/imap.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/src/leap') diff --git a/mail/src/leap/mail/imap/service/imap.py b/mail/src/leap/mail/imap/service/imap.py index 6041961..a7799ca 100644 --- a/mail/src/leap/mail/imap/service/imap.py +++ b/mail/src/leap/mail/imap/service/imap.py @@ -171,6 +171,9 @@ def run_service(*args, **kwargs): the protocol. """ from twisted.internet import reactor + # it looks like qtreactor does not honor this, + # but other reactors should. + reactor.suggestThreadPoolSize(20) leap_assert(len(args) == 2) soledad, keymanager = args -- cgit v1.2.3