mirror of
https://github.com/moparisthebest/mail
synced 2024-11-29 20:32:15 -05:00
[WO-588] move maxUpdateSize assignment
This commit is contained in:
parent
771b03e13a
commit
b02989e766
@ -221,11 +221,13 @@ define(function(require) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
|
|
||||||
initClients(credentials);
|
initClients(credentials);
|
||||||
});
|
});
|
||||||
|
|
||||||
function initClients(credentials) {
|
function initClients(credentials) {
|
||||||
|
// add the maximum update batch size for imap folders to the imap configuration
|
||||||
|
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
|
||||||
|
|
||||||
var pgpMailer = new PgpMailer(credentials.smtp, self._pgpbuilder);
|
var pgpMailer = new PgpMailer(credentials.smtp, self._pgpbuilder);
|
||||||
var imapClient = new ImapClient(credentials.imap);
|
var imapClient = new ImapClient(credentials.imap);
|
||||||
imapClient.onError = onConnectionError;
|
imapClient.onError = onConnectionError;
|
||||||
|
Loading…
Reference in New Issue
Block a user