now that we have more messages coming out of the database faster,
there's less use in special-casing the first 5
This commit is contained in:
parent
c3e903942d
commit
dc543fa9e3
1 changed files with 2 additions and 3 deletions
|
@ -592,8 +592,7 @@ public class MessagingController implements Runnable
|
||||||
if (isMessageSuppressed(account, folder, message) == false) {
|
if (isMessageSuppressed(account, folder, message) == false) {
|
||||||
pendingMessages.add(message);
|
pendingMessages.add(message);
|
||||||
totalDone++;
|
totalDone++;
|
||||||
if (totalDone < 5 || pendingMessages.size() > 4)
|
if (pendingMessages.size() > 10) {
|
||||||
{
|
|
||||||
callbackPending();
|
callbackPending();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue