Before we were fetching the entire message body (including attachments) to get the preview text. This patch now offers the ability to fetch a small (128 byte) preview of the email. Also, since this ticket is about speeding up performance, I've introduced NonblockingBatch, which allows for multiple async operations to be executed in parallel easily. I've added its use in a few places to speed up operations, including one that was causing the lag in #3799, which is why this commit closes that ticket.
This commit is contained in:
parent
782e6fa5f5
commit
18716ae6ce
22 changed files with 672 additions and 118 deletions
|
|
@ -39,7 +39,9 @@ CREATE TABLE MessageTable (
|
|||
|
||||
header TEXT,
|
||||
|
||||
body TEXT
|
||||
body TEXT,
|
||||
|
||||
preview TEXT
|
||||
);
|
||||
|
||||
CREATE INDEX MessageTableMessageIDIndex ON MessageTable(message_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue