mirror of
https://github.com/moparisthebest/mail
synced 2025-01-30 22:50:17 -05:00
[WO-588] add options to get update notifications in batches
This commit is contained in:
parent
5c9f8dac23
commit
38d760364d
@ -32,7 +32,7 @@
|
|||||||
"crypto-lib": "~0.2.1",
|
"crypto-lib": "~0.2.1",
|
||||||
"dompurify": "~0.4.2",
|
"dompurify": "~0.4.2",
|
||||||
"express": "^4.8.3",
|
"express": "^4.8.3",
|
||||||
"imap-client": "~0.4.0",
|
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/dev/WO-588",
|
||||||
"jquery": "~2.1.1",
|
"jquery": "~2.1.1",
|
||||||
"mailreader": "~0.3.5",
|
"mailreader": "~0.3.5",
|
||||||
"ng-infinite-scroll": "~1.1.2",
|
"ng-infinite-scroll": "~1.1.2",
|
||||||
|
@ -179,6 +179,7 @@ define(function(require) {
|
|||||||
outboxMailboxName: 'Outbox',
|
outboxMailboxName: 'Outbox',
|
||||||
outboxMailboxType: 'Outbox',
|
outboxMailboxType: 'Outbox',
|
||||||
connDocTimeout: 5000,
|
connDocTimeout: 5000,
|
||||||
|
imapUpdateBatchSize: 100
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -221,6 +221,7 @@ define(function(require) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
|
||||||
initClients(credentials);
|
initClients(credentials);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user