[WO-588] add options to get update notifications in batches

This commit is contained in:
Felix Hammerl 2014-09-30 17:54:35 +02:00
parent 5c9f8dac23
commit 38d760364d
3 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@
"crypto-lib": "~0.2.1",
"dompurify": "~0.4.2",
"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",
"mailreader": "~0.3.5",
"ng-infinite-scroll": "~1.1.2",

View File

@ -179,6 +179,7 @@ define(function(require) {
outboxMailboxName: 'Outbox',
outboxMailboxType: 'Outbox',
connDocTimeout: 5000,
imapUpdateBatchSize: 100
};
/**

View File

@ -221,6 +221,7 @@ define(function(require) {
return;
}
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
initClients(credentials);
});