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 | 38863f978437fcd33254b830e7d4906f4fbeccdc (patch) | |
tree | f82eafbee24ba84acde7030a28403fd1f2e180d4 /src/leap/mail | |
parent | 1348abaef5ac93692c308b910b41524e39cd627e (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 'src/leap/mail')
-rw-r--r-- | src/leap/mail/imap/service/imap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py index 1175cdc..10ba32a 100644 --- a/src/leap/mail/imap/service/imap.py +++ b/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: |