summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/soledadstore.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-30 18:35:03 -0400
committerKali Kaneko <kali@leap.se>2014-01-31 02:12:02 -0400
commitff7de0c9bc760e097c0286d2d62a19095be3f35e (patch)
tree834ffdf4fa8bf6f79a2be4ebb5151f8d2b28feef /src/leap/mail/imap/soledadstore.py
parent75da338c765ffb935290f5ca16ea2df406dc89d8 (diff)
prime-uids
We pre-fetch the uids from soledad on mailbox initialization
Diffstat (limited to 'src/leap/mail/imap/soledadstore.py')
-rw-r--r--src/leap/mail/imap/soledadstore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/mail/imap/soledadstore.py b/src/leap/mail/imap/soledadstore.py
index ae5c583..ff5e03b 100644
--- a/src/leap/mail/imap/soledadstore.py
+++ b/src/leap/mail/imap/soledadstore.py
@@ -192,7 +192,8 @@ class SoledadStore(ContentDedup):
# IMessageConsumer
- @deferred
+ # It's not thread-safe to defer this to a different thread
+
def consume(self, queue):
"""
Creates a new document in soledad db.