summaryrefslogtreecommitdiff
path: root/mail/src/leap
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
commit26fe3acbc7c41f5f130223f880fd2cbc6a29491d (patch)
tree766eae76226e858407d408e0cfff58170fd4be67 /mail/src/leap
parenta1b8dd8c94f01fa87c8ca7cca8e0bcad111cd57d (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/leap')
-rw-r--r--mail/src/leap/mail/imap/service/imap.py2
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: