diff options
author | Kali Kaneko <kali@leap.se> | 2014-03-05 12:13:43 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-03-05 12:13:43 -0400 |
commit | 26fe3acbc7c41f5f130223f880fd2cbc6a29491d (patch) | |
tree | 766eae76226e858407d408e0cfff58170fd4be67 /mail/src | |
parent | a1b8dd8c94f01fa87c8ca7cca8e0bcad111cd57d (diff) |
workaround attempt for the recursionlimit bug with qtreactor.
Increasing the recursion limit by an order of magnitude here seems to
allow a fetch of a mailbox with 500 mails.
See #5196 for discussion of alternatives.
Diffstat (limited to 'mail/src')
-rw-r--r-- | mail/src/leap/mail/imap/service/imap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/imap/service/imap.py b/mail/src/leap/mail/imap/service/imap.py index 1175cdc3..10ba32a6 100644 --- a/mail/src/leap/mail/imap/service/imap.py +++ b/mail/src/leap/mail/imap/service/imap.py @@ -57,7 +57,7 @@ import resource import sys try: - sys.setrecursionlimit(10**6) + sys.setrecursionlimit(10**7) except Exception: print "Error setting recursion limit" try: |