Increase the remote folder refresh interval.
Now we are getting notified of folder chnages, we can sweep for folder changes less often. * src/engine/imap-engine/imap-engine-generic-account.vala (GenericAccount): Bump remote folder refresh interval from 2 minutes to 15 minutes.
This commit is contained in:
parent
edd817240e
commit
7c72dac489
1 changed files with 5 additions and 1 deletions
|
|
@ -8,7 +8,11 @@
|
|||
|
||||
private abstract class Geary.ImapEngine.GenericAccount : Geary.Account {
|
||||
|
||||
private const int REFRESH_FOLDER_LIST_SEC = 2 * 60;
|
||||
// This is high since it's an expensive operation, and we'll go
|
||||
// looking changes caused by local operations as they happen, so
|
||||
// we don't need to double check.
|
||||
private const int REFRESH_FOLDER_LIST_SEC = 15 * 60;
|
||||
|
||||
private const Geary.SpecialFolderType[] SUPPORTED_SPECIAL_FOLDERS = {
|
||||
Geary.SpecialFolderType.DRAFTS,
|
||||
Geary.SpecialFolderType.SENT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue