Prefetch mail in background according to age of message: Closes #6365
This introduces a background account synchronizer into Geary that prefetches email folder-by-folder to a user-configurable epoch. The current default is 15 days. Additional work to make this user-visible is coming, in particular with The primary purpose for this feature is to allow "full" conversations (#4293), which needs more of the mailbox stored locally to do searching.
This commit is contained in:
parent
0a453796bc
commit
f54f805501
37 changed files with 1172 additions and 331 deletions
|
|
@ -6,3 +6,4 @@ install(FILES version-003.sql DESTINATION ${SQL_DEST})
|
|||
install(FILES version-004.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-005.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-006.sql DESTINATION ${SQL_DEST})
|
||||
install(FILES version-007.sql DESTINATION ${SQL_DEST})
|
||||
|
|
|
|||
9
sql/version-007.sql
Normal file
9
sql/version-007.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--
|
||||
-- Gmail has a serious bug: its STATUS command returns a message count that includes chat messages,
|
||||
-- but the SELECT/EXAMINE result codes do not. That means its difficult to confirm changes to a
|
||||
-- mailbox without SELECTing it each pass. This schema modification allows for Geary to store both
|
||||
-- the SELECT/EXAMINE count and STATUS count in the database for comparison.
|
||||
--
|
||||
|
||||
ALTER TABLE FolderTable ADD COLUMN last_seen_status_total;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue