summaryrefslogtreecommitdiff
path: root/src/leap/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-03-05 12:13:43 -0400
committerKali Kaneko <kali@leap.se>2014-03-05 12:13:43 -0400
commit38863f978437fcd33254b830e7d4906f4fbeccdc (patch)
treef82eafbee24ba84acde7030a28403fd1f2e180d4 /src/leap/mail
parent1348abaef5ac93692c308b910b41524e39cd627e (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.py2
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: