diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-12 12:40:04 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-17 11:39:50 -0400 |
commit | 9569aba3acfa2723490690943cbdf1b017213acc (patch) | |
tree | 5014a7f390a3795c2e78e39869aebfbcfdb97c19 | |
parent | 3d2fd0a2ecf1efe19f6b171740d8604d8fb2ec0d (diff) |
suggest bigger threadpool to reactors that honor it
-rw-r--r-- | mail/src/leap/mail/imap/service/imap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/src/leap/mail/imap/service/imap.py b/mail/src/leap/mail/imap/service/imap.py index 6041961f..a7799ca5 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 |